This commit is contained in:
Amine 2017-11-24 19:49:03 +01:00
parent 080d52893e
commit 68098f4d84
2 changed files with 13 additions and 7 deletions

View File

@ -1,3 +1,7 @@
**1.5.4.17**
- Fixed the last bug with infinite scroll.
**1.5.4.16**
- Fixing list view displaying issues.

View File

@ -607,13 +607,15 @@ class HomeActivity : AppCompatActivity(), SearchView.OnQueryTextListener {
else -> Unit
}
override fun onTabSelected(position: Int) =
when (position) {
0 -> getUnRead()
1 -> getRead()
2 -> getStarred()
else -> Unit
}
override fun onTabSelected(position: Int) {
offset = 0
when (position) {
0 -> getUnRead()
1 -> getRead()
2 -> getStarred()
else -> Unit
}
}
})
}