Advertisement
Mujiburrohman

GetContruct

Apr 3rd, 2019
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.70 KB | None | 0 0
  1. package com.mozeeb.crudmvp.get;
  2.  
  3. import com.mozeeb.crudmvp.model.DataItem;
  4.  
  5. import java.util.List;
  6.  
  7. public interface GetSiswaContruct {
  8.     interface View{
  9.         void ShowBiodata(List dataSiswa);
  10.         void goToEditBiodata(DataItem dataItem);
  11.         void showError(String message);
  12.         void showSucceed(String message);
  13.         void showDeleteSuccess(String message);
  14.         void showDeleteFailder(String message);
  15.         void showDeletetion(String id);
  16. //        void setClickOnDel();
  17.     }
  18.     interface Presenter{
  19.         void getDataSiswa();
  20.         void deleteBiodata(String id);
  21.         void goToEditBiodata(DataItem dataItem);
  22.         void confirmDeletion(String id);
  23.     }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement