Explorar o código

1.新增打卡结果页面n

wsad5123 %!s(int64=5) %!d(string=hai) anos
pai
achega
848695c35e

+ 18 - 0
app/src/main/java/com/tongyu/luck/happywork/ui/activity/cclient/clock/ClockInResultActivity.java

@@ -0,0 +1,18 @@
+package com.tongyu.luck.happywork.ui.activity.cclient.clock;
+
+import com.tongyu.luck.happywork.R;
+import com.tongyu.luck.happywork.ui.base.BaseActivity;
+import com.tongyu.luck.happywork.ui.mvp.cclient.contacts.ClockInResultContacts;
+import com.tongyu.luck.happywork.ui.mvp.cclient.presenter.ClockInResultPresenter;
+
+public class ClockInResultActivity extends BaseActivity<ClockInResultPresenter> implements ClockInResultContacts.IClockInResultView {
+    @Override
+    public int getLayoutId() {
+        return R.layout.activity_clock_in_result;
+    }
+
+    @Override
+    public ClockInResultPresenter bindPresenter() {
+        return new ClockInResultPresenter(this);
+    }
+}

+ 15 - 0
app/src/main/java/com/tongyu/luck/happywork/ui/mvp/cclient/contacts/ClockInResultContacts.java

@@ -0,0 +1,15 @@
+package com.tongyu.luck.happywork.ui.mvp.cclient.contacts;
+
+import com.tongyu.luck.happywork.ui.base.IPresenter;
+import com.tongyu.luck.happywork.ui.base.IView;
+
+public class ClockInResultContacts {
+    public interface IClockInResultView extends IView {
+    }
+
+    public interface IClockInResultPresenter extends IPresenter {
+    }
+
+    public interface IClockInResultModel {
+    }
+}

+ 6 - 0
app/src/main/java/com/tongyu/luck/happywork/ui/mvp/cclient/model/ClockInResultModel.java

@@ -0,0 +1,6 @@
+package com.tongyu.luck.happywork.ui.mvp.cclient.model;
+
+import com.tongyu.luck.happywork.ui.mvp.cclient.contacts.ClockInResultContacts;
+
+public class ClockInResultModel implements ClockInResultContacts.IClockInResultModel {
+}

+ 16 - 0
app/src/main/java/com/tongyu/luck/happywork/ui/mvp/cclient/presenter/ClockInResultPresenter.java

@@ -0,0 +1,16 @@
+package com.tongyu.luck.happywork.ui.mvp.cclient.presenter;
+
+import com.tongyu.luck.happywork.ui.activity.cclient.clock.ClockInResultActivity;
+import com.tongyu.luck.happywork.ui.base.BasePresenter;
+import com.tongyu.luck.happywork.ui.mvp.cclient.contacts.ClockInResultContacts;
+import com.tongyu.luck.happywork.ui.mvp.cclient.model.ClockInResultModel;
+
+public class ClockInResultPresenter extends BasePresenter<ClockInResultActivity> implements ClockInResultContacts.IClockInResultPresenter {
+    private ClockInResultModel mClockInResultModel;
+
+    public ClockInResultPresenter(ClockInResultActivity view) {
+        super(view);
+        this.mClockInResultModel = new ClockInResultModel();
+    }
+
+}

+ 6 - 0
app/src/main/res/layout/activity_clock_in_result.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<android.support.constraint.ConstraintLayout
+    xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
+    android:layout_height="match_parent">
+
+</android.support.constraint.ConstraintLayout>