| | |
| | | import com.doumee.lib_coremodel.bean.event.ActionEventData; |
| | | import com.doumee.lib_coremodel.http.utils.FrescoUtils; |
| | | import com.doumee.lib_coremodel.util.RecyclerHelp; |
| | | import com.doumee.lib_coremodel.view.ToastView; |
| | | import com.example.datalibrary.model.User; |
| | | |
| | | import org.greenrobot.eventbus.EventBus; |
| | | import org.greenrobot.eventbus.Subscribe; |
| | | import org.greenrobot.eventbus.ThreadMode; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | import dagger.hilt.android.AndroidEntryPoint; |
| | |
| | | getDB().tvAdd.setVisibility(View.VISIBLE); |
| | | } |
| | | }else { |
| | | adapter.refreshData(new ArrayList<>()); |
| | | getDB().tvAdd.setVisibility(View.VISIBLE); |
| | | getVM().emptyVisibility.set(View.VISIBLE); |
| | | } |
| | |
| | | tipDownCount = 60; |
| | | isShowTip = true; |
| | | enrollBtn(); |
| | | break; |
| | | case 5: |
| | | getDB().nsv.setVisibility(getDB().nsv.getVisibility()==View.VISIBLE?View.GONE:View.VISIBLE); |
| | | break; |
| | | case 55: |
| | | getVM().infoObs.set(""); |
| | | break; |
| | | default: |
| | | break; |
| | |
| | | runOnUiThread(new Runnable() { |
| | | @Override |
| | | public void run() { |
| | | Toast.makeText(mContext, msg, Toast.LENGTH_SHORT).show(); |
| | | ToastView.show(mContext, msg); |
| | | } |
| | | }); |
| | | } |