public interface Contract {
//Iview
interface Iview{
void getPresenter(String data);
}
//Imodel
interface Imodel{
void getShow(CallBack callBack);
interface CallBack{
void onSuccess(String list);
void onFail();
}
}
//IPresenter
interface Ipresenter{
void attch(ShowActivity showActivity);
void detch();
void show();
}
}