Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_street
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_street
Commits
322f2e2c
Commit
322f2e2c
authored
Aug 06, 2021
by
fengruiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改搜索页面的登录不是会员状态处理
parent
c4ab24f7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
SearchAfterItem.kt
...c/main/java/com/mints/street/main/home/SearchAfterItem.kt
+2
-3
UpgradeVipDialog.kt
...n/java/com/mints/street/widget/dialog/UpgradeVipDialog.kt
+1
-1
No files found.
app/src/main/java/com/mints/street/main/home/SearchAfterItem.kt
View file @
322f2e2c
...
...
@@ -23,9 +23,8 @@ class SearchAfterItem(viewModel: SearchMapViewModel,val name:String?
* 点击名称回调回调
*/
val
onClick
=
BindingCommand
<
Any
>(
BindingAction
{
if
(
viewModel
.
index
.
value
==
1
||
!
UserManager
.
INSTANCE
.
userIsLogin
()
||
!
UserManager
.
INSTANCE
.
getVipFlag
()){
if
(
viewModel
.
index
.
value
==
1
&&(
!
UserManager
.
INSTANCE
.
userIsLogin
()
||
!
UserManager
.
INSTANCE
.
getVipFlag
())){
viewModel
.
startActivity
(
OpenvipActivity
::
class
.
java
)
return
@BindingAction
}
...
...
app/src/main/java/com/mints/street/widget/dialog/UpgradeVipDialog.kt
View file @
322f2e2c
...
...
@@ -49,7 +49,7 @@ class UpgradeVipDialog(context: Context)
}
RxUtils
.
onMultiClick
(
bt_upgrade
){
startActivity
(
Intent
(
context
,
OpenvipActivity
::
class
.
java
))
//
dismiss()
dismiss
()
}
}
}
\ No newline at end of file
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