package com.mm.android.deviceaddmodule.contract; import android.support.v4.app.Fragment; import com.mm.android.deviceaddmodule.base.IBasePresenter; import com.mm.android.deviceaddmodule.base.IBaseView; public interface ErrorTipConstract { interface Presenter extends IBasePresenter { void dispatchError(int errorCode); boolean isResetPage(); //é€šç”¨é”™è¯¯é¡µï¼ŒåŠæ²¡æœ‰æŒ‰é’® boolean isUserBindTipPage(); //是å¦ä¸ºè®¾å¤‡ç»‘定æç¤ºé¡µ boolean isUserBindTipPageByBind();//绑定时æç¤ºè®¾å¤‡è¢«å…¶ä»–用户绑定 } interface View extends IBaseView<Presenter> { Fragment getParent(); void updateInfo(String info,String img,boolean isNeedMatch); void updateInfo(int infoId,int tip2Id,String img,boolean isNeedMatch); void updateInfo(int infoId,String img,boolean isNeedMatch); void hideTipTxt(); void hideHelp(); } }