show locked folder placeholder cover at the list view too

This commit is contained in:
tibbi
2019-07-02 19:52:03 +02:00
parent 820fa8883d
commit a58170f84a
2 changed files with 21 additions and 7 deletions

View File

@ -30,14 +30,14 @@ import com.simplemobiletools.gallery.pro.helpers.*
import com.simplemobiletools.gallery.pro.interfaces.DirectoryOperationsListener
import com.simplemobiletools.gallery.pro.models.AlbumCover
import com.simplemobiletools.gallery.pro.models.Directory
import kotlinx.android.synthetic.main.directory_item_grid.view.*
import kotlinx.android.synthetic.main.directory_item_grid.view.dir_check
import kotlinx.android.synthetic.main.directory_item_grid.view.dir_location
import kotlinx.android.synthetic.main.directory_item_grid.view.dir_lock
import kotlinx.android.synthetic.main.directory_item_grid.view.dir_name
import kotlinx.android.synthetic.main.directory_item_grid.view.dir_pin
import kotlinx.android.synthetic.main.directory_item_grid.view.dir_thumbnail
import kotlinx.android.synthetic.main.directory_item_grid.view.photo_cnt
import kotlinx.android.synthetic.main.directory_item_list.view.*
import kotlinx.android.synthetic.main.directory_item_list.view.dir_check
import kotlinx.android.synthetic.main.directory_item_list.view.dir_location
import kotlinx.android.synthetic.main.directory_item_list.view.dir_name
import kotlinx.android.synthetic.main.directory_item_list.view.dir_pin
import kotlinx.android.synthetic.main.directory_item_list.view.dir_thumbnail
import kotlinx.android.synthetic.main.directory_item_list.view.photo_cnt
import java.io.File
class DirectoryAdapter(activity: BaseSimpleActivity, var dirs: ArrayList<Directory>, val listener: DirectoryOperationsListener?, recyclerView: MyRecyclerView,