lmw
2025-01-10 601f14db94013373df700e007095f7f2f5ecbe24
app/src/main/java/com/sinata/xqmuse/ui/course/MyCourseActivity.kt
@@ -56,6 +56,7 @@
        rv_free.adapter = freeAdapter
        rv_my.layoutManager = GridLayoutManager(this,2)
        rv_my.adapter = myAdapter
        myAdapter.isOrder = true
        refreshLayout.setOnRefreshListener {
            getData()
@@ -81,6 +82,11 @@
                tv_empty.gone()
                tv_action.gone()
            }
            if (freeList.isNullOrEmpty()){
                tv_empty2.visible()
            }else{
                tv_empty2.gone()
            }
        }){_,_->
            refreshLayout.finishRefresh(false)
        }