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
bc6ce703
Commit
bc6ce703
authored
Jul 05, 2019
by
jianglx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化下载路径;修改会员模块协议选择情况
parent
148ce3b7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
3 deletions
+23
-3
MemberListAdapter.java
...rc/main/java/com/rv.member/adapter/MemberListAdapter.java
+6
-1
DownloadAppUtils.java
...n/src/main/java/com/rv/version/util/DownloadAppUtils.java
+0
-1
update_file_paths.xml
plugin_version/src/main/res/xml/update_file_paths.xml
+17
-1
No files found.
plugin_member/src/main/java/com/rv.member/adapter/MemberListAdapter.java
View file @
bc6ce703
...
...
@@ -105,7 +105,7 @@ public class MemberListAdapter extends RecyclerView.Adapter<RecyclerView.ViewHol
/*******
* 是否已经同意协议
*/
private
boolean
hasAgree
=
fals
e
;
private
boolean
hasAgree
=
tru
e
;
private
void
setHeadViewData
(
final
HeadViewHolder
viewHolder
)
{
setMemeberTop
(
viewHolder
);
...
...
@@ -224,7 +224,12 @@ public class MemberListAdapter extends RecyclerView.Adapter<RecyclerView.ViewHol
viewHolder
.
btn_buy
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
view
)
{
if
(!
hasAgree
)
{
Toast
.
makeText
(
mContext
,
"需同意服务协议"
,
Toast
.
LENGTH_SHORT
).
show
();
return
;
}
if
(
payListener
!=
null
)
{
payListener
.
pay
(
bean
);
}
}
...
...
plugin_version/src/main/java/com/rv/version/util/DownloadAppUtils.java
View file @
bc6ce703
...
...
@@ -2,7 +2,6 @@ package com.rv.version.util;
import
android.content.Context
;
import
android.content.Intent
;
import
android.net.Uri
;
import
android.os.Environment
;
import
android.util.Log
;
import
android.widget.Toast
;
...
...
plugin_version/src/main/res/xml/update_file_paths.xml
View file @
bc6ce703
<?xml version="1.0" encoding="utf-8"?>
<paths>
<external-path
path=
""
name=
"files_root"
/>
<files-path
name=
"name"
path=
""
/>
<cache-path
name=
"name"
path=
""
/>
<external-path
name=
"name"
path=
""
/>
<external-files-path
name=
"name"
path=
""
/>
<external-cache-path
name=
"name"
path=
""
/>
</paths>
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