摘要:
/** * presenter 层,承担业务逻辑处理,数据源处理等 */public class MainPresenter extends BasePresenter<MainContract.IMainView, DataModel> implements MainContract.IMainP 阅读全文
摘要:
public abstract class BaseActivity extends AppCompatActivity implements IBaseView { /** * 保存使用注解的 Presenter ,用于解绑 */ private List<BasePresenter> mInje 阅读全文
摘要:
/** * presenter 层,承担业务逻辑处理,数据源处理等 */public class MainPresenter extends BasePresenter<MainContract.IMainView> implements MainContract.IMainPresenter { 阅读全文
摘要:
package com.test.mvp.mvpdemo.mvp.v4.model; import com.test.mvp.mvpdemo.mvp.v4.MainContract;import com.test.mvp.mvpdemo.mvp.v4.basemvp.BaseModel; impor 阅读全文
摘要:
package com.test.mvp.mvpdemo.mvp.v4.basemvp; import android.util.Log; import java.lang.ref.SoftReference;import java.lang.reflect.InvocationHandler;im 阅读全文
摘要:
package com.test.mvp.mvpdemo.mvp.v5.inject; import java.lang.annotation.ElementType;import java.lang.annotation.Retention;import java.lang.annotation. 阅读全文
摘要:
package com.test.mvp.mvpdemo.mvp.v5.view; import android.app.ProgressDialog;import android.os.Bundle;import android.os.Handler;import android.support. 阅读全文
摘要:
public abstract class BaseActivity<P extends IBasePresenter> extends AppCompatActivity implements IBaseView { private P mPresenter; protected abstract 阅读全文
摘要:
public class MainActivity extends BaseActivity<MainContract.IMainPresenter> implements MainContract.IMainView { private TextView tv; @Override protect 阅读全文
摘要:
package com.test.mvp.mvpdemo.mvp.v5.basemvp; import android.content.Context;import android.os.Bundle;import android.support.annotation.IdRes;import an 阅读全文