mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-18 08:33:55 +00:00
some small bugfixes
This commit is contained in:
@@ -156,8 +156,11 @@ class SearchActivity : AppCompatActivity() {
|
||||
}
|
||||
|
||||
fun emptyMediaAdapter() {
|
||||
searchTimer.cancel()
|
||||
searchTimer.purge()
|
||||
mediaAdaptor.notifyItemRangeRemoved(0, model.searchResults.results.size)
|
||||
model.searchResults.results.clear()
|
||||
progressAdapter.bar?.visibility = View.GONE
|
||||
}
|
||||
|
||||
private var searchTimer = Timer()
|
||||
|
||||
Reference in New Issue
Block a user