Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RvApp
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
1
Merge Requests
1
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
lify
RvApp
Commits
982b82be
Commit
982b82be
authored
Jul 22, 2019
by
jianglx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
我的邀请码页面给"收益","已邀请","已激活"三块添加跳转事件
parent
73c600ef
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
5 deletions
+20
-5
PopularizeActivity.java
..._share/src/main/java/com/rv/share/PopularizeActivity.java
+8
-0
ShareActivity.java
plugin_share/src/main/java/com/rv/share/ShareActivity.java
+8
-2
activity_share.xml
plugin_share/src/main/res/layout/activity_share.xml
+3
-0
ConsumeListAdapter.java
...main/java/com/xxrv/wallet/adapter/ConsumeListAdapter.java
+1
-1
IncomeListAdapter.java
.../main/java/com/xxrv/wallet/adapter/IncomeListAdapter.java
+0
-2
No files found.
plugin_share/src/main/java/com/rv/share/PopularizeActivity.java
View file @
982b82be
package
com
.
rv
.
share
;
import
android.content.Context
;
import
android.content.Intent
;
import
android.support.v4.view.ViewPager
;
import
android.support.v7.app.AppCompatActivity
;
...
...
@@ -38,6 +39,12 @@ public class PopularizeActivity extends BaseStatusActivity<CommonPresenter> {
private
TabAdapter
mAdapter
;
private
int
menuPosition
;
public
static
Intent
getIntent
(
Context
context
,
int
position
)
{
Intent
intent
=
new
Intent
(
context
,
PopularizeActivity
.
class
);
intent
.
putExtra
(
"position"
,
position
);
return
intent
;
}
@Override
protected
int
setLayout
()
{
return
R
.
layout
.
activity_popularize
;
...
...
@@ -46,6 +53,7 @@ public class PopularizeActivity extends BaseStatusActivity<CommonPresenter> {
@Override
protected
void
initView
(
Bundle
savedInstanceState
,
TitleView
titleView
,
Intent
intent
)
{
titleView
.
setTitle
(
"我的推广"
);
menuPosition
=
intent
.
getIntExtra
(
"position"
,
0
);
initRecyclerView
();
initViewpager
();
}
...
...
plugin_share/src/main/java/com/rv/share/ShareActivity.java
View file @
982b82be
...
...
@@ -108,7 +108,7 @@ public class ShareActivity extends BaseStatusActivity<SharePresenter> {
}
@OnClick
({
R2
.
id
.
tv_weixin
,
R2
.
id
.
tv_weixin_circle
,
R2
.
id
.
tv_bill
,
R2
.
id
.
tv_more
,
R2
.
id
.
tv_more_detail
})
@OnClick
({
R2
.
id
.
tv_weixin
,
R2
.
id
.
tv_weixin_circle
,
R2
.
id
.
tv_bill
,
R2
.
id
.
tv_more
,
R2
.
id
.
tv_more_detail
,
R2
.
id
.
ll_activation
,
R2
.
id
.
ll_comein
,
R2
.
id
.
ll_invite
})
public
void
onViewClicked
(
View
view
)
{
int
id
=
view
.
getId
();
if
(
TextUtils
.
isEmpty
(
shareUrl
))
{
...
...
@@ -124,7 +124,13 @@ public class ShareActivity extends BaseStatusActivity<SharePresenter> {
}
else
if
(
id
==
R
.
id
.
tv_more
)
{
mPresenter
.
shareMore
(
shareUrl
,
"【滴房车】"
,
"新人专享大礼包,快去领!"
);
}
else
if
(
id
==
R
.
id
.
tv_more_detail
)
{
startActivity
(
new
Intent
(
this
,
PopularizeActivity
.
class
));
startActivity
(
PopularizeActivity
.
getIntent
(
getApplicationContext
(),
0
));
}
else
if
(
id
==
R
.
id
.
ll_activation
)
{
startActivity
(
PopularizeActivity
.
getIntent
(
getApplicationContext
(),
2
));
}
else
if
(
id
==
R
.
id
.
ll_invite
)
{
startActivity
(
PopularizeActivity
.
getIntent
(
getApplicationContext
(),
1
));
}
else
if
(
id
==
R
.
id
.
ll_comein
)
{
startActivity
(
PopularizeActivity
.
getIntent
(
getApplicationContext
(),
0
));
}
}
...
...
plugin_share/src/main/res/layout/activity_share.xml
View file @
982b82be
...
...
@@ -149,6 +149,7 @@
android:weightSum=
"3"
>
<LinearLayout
android:id=
"@+id/ll_comein"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
...
...
@@ -178,6 +179,7 @@
android:background=
"@color/tv_gr999999"
/>
<LinearLayout
android:id=
"@+id/ll_invite"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
...
...
@@ -207,6 +209,7 @@
android:background=
"@color/tv_gr999999"
/>
<LinearLayout
android:id=
"@+id/ll_activation"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
...
...
plugin_wallet/src/main/java/com/xxrv/wallet/adapter/ConsumeListAdapter.java
View file @
982b82be
...
...
@@ -47,7 +47,7 @@ public class ConsumeListAdapter extends BaseQuickAdapter<ConsumeListBean.Consume
}
else
{
builder
.
append
(
"-"
);
}
builder
.
append
(
"
¥
"
).
append
(
item
.
getAmount
());
builder
.
append
(
"
¥
"
).
append
(
item
.
getAmount
());
helper
.
setText
(
R
.
id
.
tv_amount
,
builder
.
toString
());
}
...
...
plugin_wallet/src/main/java/com/xxrv/wallet/adapter/IncomeListAdapter.java
View file @
982b82be
...
...
@@ -3,10 +3,8 @@ package com.xxrv.wallet.adapter;
import
android.support.annotation.Nullable
;
import
android.text.TextUtils
;
import
com.base.utils.ui.image.round.RoundImageView
;
import
com.chad.library.adapter.base.BaseQuickAdapter
;
import
com.chad.library.adapter.base.BaseViewHolder
;
import
com.ruiwenliu.wrapper.util.glide.GlideManager
;
import
com.rv.component.utils.DateUtils
;
import
com.xxrv.wallet.R
;
import
com.xxrv.wallet.bean.IncomeRecordsBean
;
...
...
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