MessageBoxContract.java 695 B

1234567891011121314151617181920212223242526272829
  1. package com.cooleshow.student.contract;
  2. import com.cooleshow.base.presenter.view.BaseView;
  3. import com.cooleshow.student.bean.CountOfUnreadBean;
  4. import com.cooleshow.student.bean.SystemMessageBean;
  5. import java.util.List;
  6. /**
  7. * 创建日期:2022/5/24 11:52
  8. *
  9. * @author Ryan
  10. * 类说明:
  11. */
  12. public interface MessageBoxContract {
  13. interface MessageBoxView extends BaseView {
  14. void sysMessageListSuccess(int page, SystemMessageBean data);
  15. void sysMessageListError(int page);
  16. void setCurrentReadSuccess(long id);
  17. void queryCountOfUnreadSuccess(List<CountOfUnreadBean> data);
  18. void batchSetReadSuccess();
  19. }
  20. interface Presenter {
  21. }
  22. }