Commit 0baa5d117c1702dd8689db5f1645937c33acebf1

Authored by wwx
1 parent f3a94eee

no message

app/src/main/java/com/shunzhi/parent/contract/apply/ApplyReplaceCardContract.java 0 → 100644
... ... @@ -0,0 +1,22 @@
  1 +package com.shunzhi.parent.contract.apply;
  2 +
  3 +import com.share.mvpsdk.base.BasePresenter;
  4 +import com.share.mvpsdk.base.IBaseActivity;
  5 +
  6 +/**
  7 + * Created by Administrator on 2018/4/18 0018.
  8 + */
  9 +
  10 +public interface ApplyReplaceCardContract {
  11 +
  12 + //IOrderDetailModel,IOrderDetailView
  13 + abstract class ApplyReplaceCardPreenter extends BasePresenter<IApplyReplaceCardModel,IApplyReplaceCardView>{
  14 + public abstract void showReplaceCardDetail();
  15 + }
  16 +
  17 + interface IApplyReplaceCardModel {
  18 + }
  19 +
  20 + interface IApplyReplaceCardView extends IBaseActivity{
  21 + }
  22 +}
... ...
app/src/main/java/com/shunzhi/parent/presenter/apply/ApplyReplaceCardPresenter.java 0 → 100644
... ... @@ -0,0 +1,20 @@
  1 +package com.shunzhi.parent.presenter.apply;
  2 +
  3 +import com.share.mvpsdk.base.BasePresenter;
  4 +import com.shunzhi.parent.contract.apply.ApplyReplaceCardContract;
  5 +
  6 +/**
  7 + * Created by Administrator on 2018/4/18 0018.
  8 + */
  9 +//OrderDetailContract.OrderDetailPreenter
  10 +public class ApplyReplaceCardPresenter extends ApplyReplaceCardContract.ApplyReplaceCardPreenter {
  11 + @Override
  12 + public ApplyReplaceCardContract.IApplyReplaceCardModel getModel() {
  13 + return null;
  14 + }
  15 +
  16 + @Override
  17 + public void onStart() {
  18 +
  19 + }
  20 +}
... ...
app/src/main/java/com/shunzhi/parent/ui/activity/apply/ApplyReplaceCardActivity.java
... ... @@ -13,6 +13,7 @@ import android.widget.TextView;
13 13 import com.share.mvpsdk.base.BasePresenter;
14 14 import com.share.mvpsdk.base.activity.BaseMVPCompatActivity;
15 15 import com.shunzhi.parent.R;
  16 +import com.shunzhi.parent.presenter.apply.ApplyReplaceCardPresenter;
16 17 import com.shunzhi.parent.ui.fragment.apply.ApplyReplaceCardFragment;
17 18 import com.shunzhi.parent.ui.fragment.apply.ApplySigninFragment;
18 19  
... ... @@ -62,6 +63,6 @@ public class ApplyReplaceCardActivity extends BaseMVPCompatActivity implements V
62 63 @NonNull
63 64 @Override
64 65 public BasePresenter initPresenter() {
65   - return null;
  66 + return new ApplyReplaceCardPresenter();
66 67 }
67 68 }
... ...