Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
For #6791 - Inflate SavedLoginsListItemViewHolder layout explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
ekager authored and boek committed Dec 2, 2019
1 parent d8babad commit f227acc
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ class SavedLoginsAdapter(
private val interactor: SavedLoginsInteractor
) : ListAdapter<SavedLoginsItem, SavedLoginsListItemViewHolder>(DiffCallback) {

override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): SavedLoginsListItemViewHolder {
val view = LayoutInflater.from(parent.context).inflate(viewType, parent, false)
override fun onCreateViewHolder(
parent: ViewGroup,
viewType: Int
): SavedLoginsListItemViewHolder {
val view = LayoutInflater.from(parent.context)
.inflate(SavedLoginsListItemViewHolder.LAYOUT_ID, parent, false)
return SavedLoginsListItemViewHolder(view, interactor)
}

Expand Down

0 comments on commit f227acc

Please sign in to comment.