updating some libraries
This commit is contained in:
parent
a6cbf14edf
commit
28e25a6c09
3 changed files with 7 additions and 7 deletions
|
@ -6,9 +6,9 @@ buildscript {
|
|||
propMinSdkVersion = 16
|
||||
propTargetSdkVersion = propCompileSdkVersion
|
||||
propVersionCode = 1
|
||||
propVersionName = '3.14.5'
|
||||
propVersionName = '3.14.6'
|
||||
kotlin_version = '1.2.30'
|
||||
support_libs = '27.0.2'
|
||||
support_libs = '27.1.0'
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
|
|
@ -29,14 +29,14 @@ android {
|
|||
dependencies {
|
||||
compile "com.android.support:design:$support_libs"
|
||||
compile "com.android.support:appcompat-v7:$support_libs"
|
||||
compile 'com.github.bumptech.glide:glide:4.5.0'
|
||||
compile 'com.github.bumptech.glide:glide:4.6.1'
|
||||
compile 'com.booking:rtlviewpager:1.0.1'
|
||||
compile 'com.andrognito.patternlockview:patternlockview:1.0.0'
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
compile 'com.bignerdranch.android:recyclerview-multiselect:0.2'
|
||||
compile 'com.github.ajalt.reprint:core:3.2.0@aar'
|
||||
|
||||
kapt 'com.github.bumptech.glide:compiler:4.5.0'
|
||||
kapt 'com.github.bumptech.glide:compiler:4.6.1'
|
||||
}
|
||||
|
||||
apply from: '../bintray-upload.gradle'
|
||||
|
|
|
@ -33,7 +33,7 @@ class FilepickerItemsAdapter(activity: BaseSimpleActivity, val fileDirItems: Lis
|
|||
|
||||
override fun markItemSelection(select: Boolean, view: View?) {}
|
||||
|
||||
override fun onCreateViewHolder(parent: ViewGroup?, viewType: Int) = createViewHolder(R.layout.filepicker_list_item, parent)
|
||||
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int) = createViewHolder(R.layout.filepicker_list_item, parent)
|
||||
|
||||
override fun onBindViewHolder(holder: MyRecyclerViewAdapter.ViewHolder, position: Int) {
|
||||
val fileDirItem = fileDirItems[position]
|
||||
|
@ -51,10 +51,10 @@ class FilepickerItemsAdapter(activity: BaseSimpleActivity, val fileDirItems: Lis
|
|||
|
||||
override fun getSelectableItemCount() = fileDirItems.size
|
||||
|
||||
override fun onViewRecycled(holder: MyRecyclerViewAdapter.ViewHolder?) {
|
||||
override fun onViewRecycled(holder: MyRecyclerViewAdapter.ViewHolder) {
|
||||
super.onViewRecycled(holder)
|
||||
if (!activity.isActivityDestroyed()) {
|
||||
Glide.with(activity).clear(holder?.itemView?.list_item_icon!!)
|
||||
Glide.with(activity).clear(holder.itemView?.list_item_icon!!)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue