Compare commits

...

1 Commits

Author SHA1 Message Date
20ab7b5730 keepalive版MVP 2022-09-16 08:33:24 +08:00
6 changed files with 78 additions and 3 deletions

View File

@ -2,6 +2,7 @@ plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-kapt'
id 'kotlin-android-extensions'
id 'com.huawei.agconnect'
}

View File

@ -0,0 +1,25 @@
package com.arpa.hndahesudintocctmsdriver.ui.test
import com.arpa.hndahesudintocctmsdriver.R
import com.kymjs.themvp.view.AppDelegate
import kotlinx.android.synthetic.main.activity_get_shangchuan.*
/**
* @ClassName SimpleDelegate
* @Author 用户
* @Date 2022/9/8 10:05
* @Description TODO
*/
class SimpleDelegate : AppDelegate(){
override fun getRootLayoutId() = R.layout.activity_get_shangchuan
override fun initWidget() {
super.initWidget()
}
override fun getOptionsMenuId(): Int {
image1
return super.getOptionsMenuId()
}
}

View File

@ -0,0 +1,24 @@
package com.arpa.hndahesudintocctmsdriver.ui.test
import android.os.Bundle
import com.arpa.hndahesudintocctmsdriver.R
import com.dahe.mylibrary.base.BaseActivity
import kotlinx.android.synthetic.main.activity_get_shangchuan.*
/**
* @ClassName Texasdfa
* @Author 用户
* @Date 2022/9/8 10:33
* @Description TODO
*/
class Texasdfa : BaseActivity() {
override fun getLayout() = R.layout.activity_get_shangchuan
override fun initView(savedInstanceState: Bundle?) {
img1
}
override fun initDate() {
TODO("Not yet implemented")
}
}

View File

@ -0,0 +1,23 @@
package com.arpa.hndahesudintocctmsdriver.ui.test
import android.os.Bundle
import android.os.PersistableBundle
import com.kymjs.themvp.presenter.ActivityPresenter
/**
* @ClassName TextMVPActivtity
* @Author 用户
* @Date 2022/9/8 10:04
* @Description TODO
*/
class TextMVPActivtity : ActivityPresenter<SimpleDelegate>() {
override fun getDelegateClass(): Class<SimpleDelegate> {
return SimpleDelegate::class.java
}
override fun bindEvenListener() {
super.bindEvenListener()
}
}

View File

@ -55,10 +55,11 @@
android:layout_width="@dimen/dp_90"
android:layout_height="@dimen/dp_90"
android:background="#EEEEEE">
<ImageView
android:id="@+id/img1"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
android:layout_height="match_parent" />
</RelativeLayout>
<LinearLayout
android:layout_marginTop="@dimen/dp_13"
@ -71,14 +72,14 @@
android:layout_marginTop="@dimen/dp_7"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/name_one"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="卸货照片"
android:textColor="#ff000000"
android:textSize="@dimen/sp_13"
/>
android:textSize="@dimen/sp_13" />
<TextView
android:layout_alignParentRight="true"
android:id="@+id/time_one"

View File

@ -78,6 +78,7 @@ dependencies {
api rootProject.ext.dependencies["Location"]
api rootProject.ext.dependencies["Search"]
api 'com.github.kymjs:themvp:2.0.0'
//
// api 'com.umeng.umsdk:common:9.4.4'