Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_flowbox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_flowbox
Commits
0f5422ae
Commit
0f5422ae
authored
Jul 27, 2021
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
0a426bc5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
MobileLoginActivity.kt
...ava/com/mints/flowbox/ui/activitys/MobileLoginActivity.kt
+1
-1
WxLoginActivity.kt
...in/java/com/mints/flowbox/ui/activitys/WxLoginActivity.kt
+3
-1
No files found.
app/src/main/java/com/mints/flowbox/ui/activitys/MobileLoginActivity.kt
View file @
0f5422ae
...
@@ -154,7 +154,7 @@ class MobileLoginActivity : BaseActivity(), LoginView, View.OnClickListener {
...
@@ -154,7 +154,7 @@ class MobileLoginActivity : BaseActivity(), LoginView, View.OnClickListener {
}
}
tvLoginAgreement
.
text
=
SpanUtils
(
)
SpanUtils
.
with
(
tvLoginAgreement
)
.
append
(
"《用户注册协议》"
).
setClickSpan
(
object
:
ClickableSpan
()
{
.
append
(
"《用户注册协议》"
).
setClickSpan
(
object
:
ClickableSpan
()
{
override
fun
onClick
(
widget
:
View
)
{
override
fun
onClick
(
widget
:
View
)
{
val
bundle
=
Bundle
()
val
bundle
=
Bundle
()
...
...
app/src/main/java/com/mints/flowbox/ui/activitys/WxLoginActivity.kt
View file @
0f5422ae
...
@@ -27,7 +27,9 @@ import com.mints.flowbox.mvp.presenters.LoginPresenter
...
@@ -27,7 +27,9 @@ import com.mints.flowbox.mvp.presenters.LoginPresenter
import
com.mints.flowbox.mvp.views.LoginView
import
com.mints.flowbox.mvp.views.LoginView
import
com.mints.flowbox.ui.activitys.base.BaseActivity
import
com.mints.flowbox.ui.activitys.base.BaseActivity
import
com.mints.flowbox.utils.SpanUtils
import
com.mints.flowbox.utils.SpanUtils
import
kotlinx.android.synthetic.main.activity_mobile_login.*
import
kotlinx.android.synthetic.main.activity_wx_login.*
import
kotlinx.android.synthetic.main.activity_wx_login.*
import
kotlinx.android.synthetic.main.activity_wx_login.tvLoginAgreement
import
java.util.*
import
java.util.*
...
@@ -172,7 +174,7 @@ class WxLoginActivity : BaseActivity(), LoginView, View.OnClickListener, OnLogin
...
@@ -172,7 +174,7 @@ class WxLoginActivity : BaseActivity(), LoginView, View.OnClickListener, OnLogin
private
fun
initView
()
{
private
fun
initView
()
{
tvLoginAgreement
.
text
=
SpanUtils
(
)
SpanUtils
.
with
(
tvLoginAgreement
)
.
append
(
"《用户注册协议》"
).
setClickSpan
(
object
:
ClickableSpan
()
{
.
append
(
"《用户注册协议》"
).
setClickSpan
(
object
:
ClickableSpan
()
{
override
fun
onClick
(
widget
:
View
)
{
override
fun
onClick
(
widget
:
View
)
{
val
bundle
=
Bundle
()
val
bundle
=
Bundle
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment