|
@@ -23,6 +23,7 @@ import com.cooleshow.musicmerge.bean.MyWorkListBean;
|
|
|
import com.cooleshow.musicmerge.contract.MyWorkContract;
|
|
|
import com.cooleshow.musicmerge.databinding.FgMyWorkDraftLayoutBinding;
|
|
|
import com.cooleshow.musicmerge.presenter.work.MyWorkPresenter;
|
|
|
+import com.scwang.smart.refresh.footer.ClassicsFooter;
|
|
|
import com.scwang.smart.refresh.layout.api.RefreshLayout;
|
|
|
import com.scwang.smart.refresh.layout.listener.OnRefreshListener;
|
|
|
import com.tbruyelle.rxpermissions3.RxPermissions;
|
|
@@ -61,6 +62,7 @@ public class MyWorkDraftFragment extends BaseMVPFragment<FgMyWorkDraftLayoutBind
|
|
|
@Override
|
|
|
protected void initData() {
|
|
|
mListAdapter = new MyDraftWorkListAdapter();
|
|
|
+ mViewBinding.refreshLayout.setRefreshFooter(new ClassicsFooter(getContext()));
|
|
|
EmptyViewLayout emptyViewLayout = new EmptyViewLayout(getContext());
|
|
|
emptyViewLayout.setContent(com.cooleshow.base.R.drawable.icon_empty_content, "暂无内容");
|
|
|
mListAdapter.setEmptyView(emptyViewLayout);
|