mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-01-03 03:49:56 +01:00
rename directory_item to directory_item_grid
This commit is contained in:
parent
fc3565129d
commit
9c5c359e4d
@ -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 New Issue
Block a user