Skip to content

Instantly share code, notes, and snippets.

@muzafakar
Created January 8, 2019 07:49
Show Gist options
  • Save muzafakar/72a9a147e27360aaf74002a1bb491186 to your computer and use it in GitHub Desktop.
Save muzafakar/72a9a147e27360aaf74002a1bb491186 to your computer and use it in GitHub Desktop.
public class Contract {
public interface Presenter{
void getEvent();
void getCraft();
void getCulinnary(int id);
void getLanguange(int id);
void getCategory();
void getCategoryLanguage();
void getTrending();
void onFinishCall(ArrayList list);
void onFailurCall(Throwable t);
}
public interface View{
void onCompleteCall(ArrayList data);
}
public interface Intractor{
void getEvent();
void getCraft();
void getCulinnary(int id);
void getLanguange(int id);
void getCategory();
void getCategoryLanguage();
void getTrending();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment