mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-30 00:17:58 +01:00
rename directory_item to directory_item_grid
This commit is contained in:
parent
fc3565129d
commit
9c5c359e4d
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ import com.simplemobiletools.gallery.dialogs.PickMediumDialog
|
|||
import com.simplemobiletools.gallery.extensions.*
|
||||
import com.simplemobiletools.gallery.models.AlbumCover
|
||||
import com.simplemobiletools.gallery.models.Directory
|
||||
import kotlinx.android.synthetic.main.directory_item.view.*
|
||||
import kotlinx.android.synthetic.main.directory_item_grid.view.*
|
||||
import java.io.File
|
||||
import java.util.*
|
||||
|
||||
|
@ -330,7 +330,7 @@ class DirectoryAdapter(val activity: SimpleActivity, var dirs: MutableList<Direc
|
|||
}
|
||||
|
||||
override fun onCreateViewHolder(parent: ViewGroup?, viewType: Int): ViewHolder {
|
||||
val view = LayoutInflater.from(parent?.context).inflate(R.layout.directory_item, parent, false)
|
||||
val view = LayoutInflater.from(parent?.context).inflate(R.layout.directory_item_grid, parent, false)
|
||||
return ViewHolder(view, adapterListener, activity, multiSelectorMode, multiSelector, listener, isPickIntent, itemClick)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue