Guest User

Untitled

a guest
Mar 18th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
  2.  
  3. import android.content.Context;
  4. import android.support.annotation.NonNull;
  5.  
  6. import retrofit2.Call;
  7. import retrofit2.Response;
  8.  
  9. public class ${NAME}PresenterImpl extends BasePresenter implements ${NAME}Presenter {
  10. private Context mContext;
  11. private final ${NAME}View mView;
  12. private RestInterface apiService;
  13.  
  14. ${NAME}PresenterImpl(Context context, ${NAME}View view) {
  15. this.mContext = context;
  16. this.apiService = API.getClient().create(RestInterface.class);
  17. this.mView = view;
  18. }
  19. }
Add Comment
Please, Sign In to add comment