Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
- import android.content.Context;
- import android.support.annotation.NonNull;
- import retrofit2.Call;
- import retrofit2.Response;
- public class ${NAME}PresenterImpl extends BasePresenter implements ${NAME}Presenter {
- private Context mContext;
- private final ${NAME}View mView;
- private RestInterface apiService;
- ${NAME}PresenterImpl(Context context, ${NAME}View view) {
- this.mContext = context;
- this.apiService = API.getClient().create(RestInterface.class);
- this.mView = view;
- }
- }
Add Comment
Please, Sign In to add comment