@ -60,11 +60,13 @@ class FindBookAdapter(private val scope: CoroutineScope) :
notifyItemChanged(oldEx)
}
if (exIndex == position) {
gl_child.visible()
rotate_loading.show()
Coroutine.async(scope) {
bookSource.getExploreRule().getExploreKinds(bookSource.bookSourceUrl)
}.onSuccess {
it?.let {
rotate_loading.hide()
var rowNum = 0
var columnNum = 0
gl_child.removeAllViews()
@ -47,4 +47,10 @@
android:columnCount="3"
android:visibility="gone" />
<io.legado.app.ui.widget.anima.RotateLoading
android:id="@+id/rotate_loading"
android:layout_width="36dp"
android:layout_height="36dp"
</LinearLayout>