Commit 41a35b14 authored by jyx's avatar jyx

代码优化

parent a3d14d7a
......@@ -45,6 +45,10 @@ android {
]
}
dexOptions {
javaMaxHeapSize "4g"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
......
......@@ -150,10 +150,12 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie
GlideUtils.loadImageView(this@EditProfileActivity, it.headerUrl, ivAvatar)
tvNickname.setText("" + it.nickName)
tvSign.text = it.introduce
tvJyjm.text = it.interest
tvAge.text = it.birthday
tvJob.text = it.career
tvHeight.text = it.userHeight
tvWeight.text = it.bodyWeight
tvJyfw.text = it.findCity
if (userManager.userSex == "1") {
initMale()
......@@ -478,8 +480,8 @@ class EditProfileActivity : BaseActivity(), View.OnClickListener, EditProfileVie
mSinglePickDialog?.setPickResultListener(object :
SinglePickDialog.OnPickResultListener {
override fun onPickResult(result: String) {
userProfileData?.interest = result
tvJyjm.text = result
userProfileData?.career = result
tvJob.text = result
}
})
mSinglePickDialog?.show()
......
......@@ -9,7 +9,7 @@
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2058m
org.gradle.jvmargs=-Xmx4096m
android.injected.testOnly=false
android.useAndroidX=true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment