Created
August 28, 2017 11:25
-
-
Save vsay01/d62c71881349a059fcecc72aed83e4ec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.template.test.testmvptemplate; // your application package | |
| import android.content.Context; | |
| import android.support.annotation.NonNull; | |
| public class BasePresenter { | |
| protected Context mContext; | |
| public void subscribe(@NonNull Context context) { | |
| this.mContext = context; | |
| public boolean isSubscribed() { | |
| return mContext != null; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment