update commons to 4.0.9
This commit is contained in:
parent
fff4b52151
commit
abaa1f2e08
5 changed files with 5 additions and 5 deletions
|
@ -47,7 +47,7 @@ ext {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.simplemobiletools:commons:4.0.8'
|
implementation 'com.simplemobiletools:commons:4.0.9'
|
||||||
implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.0'
|
implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.0'
|
||||||
implementation 'com.android.support:multidex:1.0.3'
|
implementation 'com.android.support:multidex:1.0.3'
|
||||||
implementation 'it.sephiroth.android.exif:library:1.0.1'
|
implementation 'it.sephiroth.android.exif:library:1.0.1'
|
||||||
|
|
|
@ -62,7 +62,7 @@ class DirectoryAdapter(activity: BaseSimpleActivity, var dirs: ArrayList<Directo
|
||||||
|
|
||||||
override fun onBindViewHolder(holder: MyRecyclerViewAdapter.ViewHolder, position: Int) {
|
override fun onBindViewHolder(holder: MyRecyclerViewAdapter.ViewHolder, position: Int) {
|
||||||
val dir = dirs[position]
|
val dir = dirs[position]
|
||||||
val view = holder.bindView(dir, !isPickIntent) { itemView, layoutPosition ->
|
val view = holder.bindView(dir, !isPickIntent) { itemView, adapterPosition ->
|
||||||
setupView(itemView, dir)
|
setupView(itemView, dir)
|
||||||
}
|
}
|
||||||
bindViewHolder(holder, position, view)
|
bindViewHolder(holder, position, view)
|
||||||
|
|
|
@ -43,7 +43,7 @@ class ManageFoldersAdapter(activity: BaseSimpleActivity, var folders: ArrayList<
|
||||||
|
|
||||||
override fun onBindViewHolder(holder: ViewHolder, position: Int) {
|
override fun onBindViewHolder(holder: ViewHolder, position: Int) {
|
||||||
val folder = folders[position]
|
val folder = folders[position]
|
||||||
val view = holder.bindView(folder) { itemView, layoutPosition ->
|
val view = holder.bindView(folder) { itemView, adapterPosition ->
|
||||||
setupView(itemView, folder)
|
setupView(itemView, folder)
|
||||||
}
|
}
|
||||||
bindViewHolder(holder, position, view)
|
bindViewHolder(holder, position, view)
|
||||||
|
|
|
@ -45,7 +45,7 @@ class ManageHiddenFoldersAdapter(activity: BaseSimpleActivity, var folders: Arra
|
||||||
|
|
||||||
override fun onBindViewHolder(holder: ViewHolder, position: Int) {
|
override fun onBindViewHolder(holder: ViewHolder, position: Int) {
|
||||||
val folder = folders[position]
|
val folder = folders[position]
|
||||||
val view = holder.bindView(folder) { itemView, layoutPosition ->
|
val view = holder.bindView(folder) { itemView, adapterPosition ->
|
||||||
setupView(itemView, folder)
|
setupView(itemView, folder)
|
||||||
}
|
}
|
||||||
bindViewHolder(holder, position, view)
|
bindViewHolder(holder, position, view)
|
||||||
|
|
|
@ -66,7 +66,7 @@ class MediaAdapter(activity: BaseSimpleActivity, var media: MutableList<Medium>,
|
||||||
override fun onBindViewHolder(holder: MyRecyclerViewAdapter.ViewHolder, position: Int) {
|
override fun onBindViewHolder(holder: MyRecyclerViewAdapter.ViewHolder, position: Int) {
|
||||||
val medium = media[position]
|
val medium = media[position]
|
||||||
visibleItemPaths.add(medium.path)
|
visibleItemPaths.add(medium.path)
|
||||||
val view = holder.bindView(medium, !allowMultiplePicks) { itemView, layoutPosition ->
|
val view = holder.bindView(medium, !allowMultiplePicks) { itemView, adapterPosition ->
|
||||||
setupView(itemView, medium)
|
setupView(itemView, medium)
|
||||||
}
|
}
|
||||||
bindViewHolder(holder, position, view)
|
bindViewHolder(holder, position, view)
|
||||||
|
|
Loading…
Reference in a new issue