adding a crashfix at the FastScroller
This commit is contained in:
parent
08ef9c40af
commit
cb84ce70db
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ buildscript {
|
|||
propMinSdkVersion = 21
|
||||
propTargetSdkVersion = propCompileSdkVersion
|
||||
propVersionCode = 1
|
||||
propVersionName = '5.17.8'
|
||||
propVersionName = '5.17.9'
|
||||
kotlin_version = '1.3.50'
|
||||
}
|
||||
|
||||
|
|
|
@ -109,7 +109,7 @@ class FastScroller : FrameLayout {
|
|||
}
|
||||
|
||||
fun measureRecyclerView() {
|
||||
if (recyclerView == null) {
|
||||
if (recyclerView == null || recyclerView!!.adapter == null) {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue