Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_aiyuebao
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_aiyuebao
Commits
45da0c7f
Commit
45da0c7f
authored
Mar 12, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://39.97.65.143:81/android/android_aiyuebao
parents
17d22887
12ea0e5d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
MyFragment.kt
...c/main/java/com/wenshu/aiyuebao/ui/fragment/MyFragment.kt
+8
-8
fragment_main_my.xml
app/src/main/res/layout/fragment_main_my.xml
+1
-1
No files found.
app/src/main/java/com/wenshu/aiyuebao/ui/fragment/MyFragment.kt
View file @
45da0c7f
...
@@ -497,9 +497,9 @@ class MyFragment : BaseFragment(),
...
@@ -497,9 +497,9 @@ class MyFragment : BaseFragment(),
* 处理列表数据
* 处理列表数据
*/
*/
private
fun
handleRecyData
()
{
private
fun
handleRecyData
()
{
userConfig
?.
let
{
//
userConfig?.let {
item_bottom_qqGroupNum
.
text
=
userConfig
?.
qqMsg
?.
useqq
?.
name
+
":"
+
userConfig
?.
qqMsg
?.
useqq
?.
qq
//
item_bottom_qqGroupNum.text = userConfig?.qqMsg?.useqq?.name + ":" + userConfig?.qqMsg?.useqq?.qq
}
//
}
dataList
.
clear
()
dataList
.
clear
()
dataList
.
addAll
(
userConfig
!!
.
autoList
)
dataList
.
addAll
(
userConfig
!!
.
autoList
)
...
@@ -845,10 +845,10 @@ class MyFragment : BaseFragment(),
...
@@ -845,10 +845,10 @@ class MyFragment : BaseFragment(),
bundle
.
putString
(
WebActivity
.
WEB_URL
,
Constant
.
STRATEGY_URL
)
bundle
.
putString
(
WebActivity
.
WEB_URL
,
Constant
.
STRATEGY_URL
)
readyGo
(
WebActivity
::
class
.
java
,
bundle
)
readyGo
(
WebActivity
::
class
.
java
,
bundle
)
}
}
R
.
id
.
item_customer_service
->
{
//
R.id.item_customer_service -> {
// 跳转加入QQ群
//
// 跳转加入QQ群
jumpQQGroup
()
//
jumpQQGroup()
}
//
}
R
.
id
.
item_title_id
->
{
R
.
id
.
item_title_id
->
{
if
(!
userManager
.
userIsLogin
())
{
if
(!
userManager
.
userIsLogin
())
{
readyGo
(
WxLoginActivity
::
class
.
java
)
readyGo
(
WxLoginActivity
::
class
.
java
)
...
@@ -1151,7 +1151,7 @@ class MyFragment : BaseFragment(),
...
@@ -1151,7 +1151,7 @@ class MyFragment : BaseFragment(),
btn_coinRecord
.
setOnClickListener
(
this
)
btn_coinRecord
.
setOnClickListener
(
this
)
item_title_friends
.
setOnClickListener
(
this
)
item_title_friends
.
setOnClickListener
(
this
)
ll_my_login
.
setOnClickListener
(
this
)
ll_my_login
.
setOnClickListener
(
this
)
item_customer_service
.
setOnClickListener
(
this
)
//
item_customer_service.setOnClickListener(this)
vp_grid
.
addOnPageChangeListener
(
object
:
ViewPager
.
OnPageChangeListener
{
vp_grid
.
addOnPageChangeListener
(
object
:
ViewPager
.
OnPageChangeListener
{
override
fun
onPageScrollStateChanged
(
state
:
Int
)
{
override
fun
onPageScrollStateChanged
(
state
:
Int
)
{
...
...
app/src/main/res/layout/fragment_main_my.xml
View file @
45da0c7f
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
android:nestedScrollingEnabled=
"false"
android:nestedScrollingEnabled=
"false"
app:layoutManager=
"androidx.recyclerview.widget.LinearLayoutManager"
/>
app:layoutManager=
"androidx.recyclerview.widget.LinearLayoutManager"
/>
<include
layout=
"@layout/item_fragment_main_my_customer_service"
/
>
<!-- <include layout="@layout/item_fragment_main_my_customer_service" />--
>
</LinearLayout>
</LinearLayout>
...
...
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