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
9bff3d9e
Commit
9bff3d9e
authored
Dec 19, 2019
by
linfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
钱包微信提现
parent
3c19623d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
28 deletions
+30
-28
SwitchFragment.java
...a/com/ruiwenliu/wrapper/util/listener/SwitchFragment.java
+0
-1
OrderListActivity.java
.../home/rv/module/ui/main/home/order/OrderListActivity.java
+2
-2
JcvTrillVideo.java
...eo/src/main/java/com/xxrv/video/weight/JcvTrillVideo.java
+24
-22
layout_jcv_trill.xml
plugin_video/src/main/res/layout/layout_jcv_trill.xml
+4
-3
No files found.
RvWrapper/src/main/java/com/ruiwenliu/wrapper/util/listener/SwitchFragment.java
View file @
9bff3d9e
...
...
@@ -13,7 +13,6 @@ public class SwitchFragment {
}
}
public
interface
ChangeFragment
{
void
changge
(
int
postion
);
}
...
...
module_home/src/main/java/com/rv/home/rv/module/ui/main/home/order/OrderListActivity.java
View file @
9bff3d9e
...
...
@@ -63,14 +63,14 @@ public class OrderListActivity extends BaseStatusActivity<PickerPresenter> {
protected
void
initView
(
Bundle
savedInstanceState
,
TitleView
titleView
,
Intent
intent
)
{
menuPosition
=
intent
.
getIntExtra
(
"position"
,
0
);
titleView
.
setTitle
(
mActivity
.
getString
(
R
.
string
.
rv_my_order
));
titleView
.
setText
(
R
.
id
.
tv_title_right
,
"开发票"
);
/*
titleView.setText(R.id.tv_title_right, "开发票");
titleView.setChildClickListener(R.id.tv_title_right, new View.OnClickListener() {
@Override
public void onClick(View v) {
ARouter.getInstance().build(Constance.ACTIVITY_URL_INVOICINGACTIVITY)
.navigation();
}
});
});
*/
initRecyclerView
();
initViewpager
();
...
...
plugin_video/src/main/java/com/xxrv/video/weight/JcvTrillVideo.java
View file @
9bff3d9e
...
...
@@ -34,6 +34,7 @@ import com.xxrv.video.activity.TriListActivity;
import
com.xxrv.video.adapter.CommentVideoAdapter
;
import
com.xxrv.video.api.VideoApi
;
import
com.xxrv.video.base.Proxy
;
import
com.xxrv.video.bean.circle.Comment
;
import
com.xxrv.video.bean.circle.DiscoveryDataBean
;
import
com.xxrv.video.bean.circle.VideoIMTokenBean
;
import
com.xxrv.video.dialog.TrillCommDialog
;
...
...
@@ -43,6 +44,7 @@ import com.yuyife.okgo.OkGoUtil;
import
java.lang.reflect.ParameterizedType
;
import
java.util.HashMap
;
import
java.util.LinkedHashMap
;
import
java.util.List
;
import
java.util.Locale
;
import
java.util.Map
;
...
...
@@ -347,29 +349,29 @@ public class JcvTrillVideo extends FrameLayout implements BaseView, View.OnClick
tvAddress
.
setText
(
bean
.
getLocation
());
}
commentVideoAdapter
.
addData
(
bean
.
getComments
());
//
commentVideoAdapter.addData(bean.getComments());
//
List<Comment> comments = bean.getComments();
//
if (comments != null && comments.size() > 0) {
//
tvConmmentHint1.setVisibility(VISIBLE);
//
tvConmmentHint1.setText(comments.get(0).getBody());
//
} else {
//
tvConmmentHint1.setVisibility(GONE);
//
}
//
//
if (comments != null && comments.size() > 1) {
//
tvConmmentHint2.setVisibility(VISIBLE);
//
tvConmmentHint2.setText(comments.get(1).getBody());
//
} else {
//
tvConmmentHint2.setVisibility(GONE);
//
}
//
//
if (comments != null && comments.size() > 2) {
//
tvConmmentHint3.setVisibility(VISIBLE);
//
tvConmmentHint3.setText(comments.get(2).getBody());
//
} else {
//
tvConmmentHint3.setVisibility(GONE);
//
}
List
<
Comment
>
comments
=
bean
.
getComments
();
if
(
comments
!=
null
&&
comments
.
size
()
>
0
)
{
tvConmmentHint1
.
setVisibility
(
VISIBLE
);
tvConmmentHint1
.
setText
(
comments
.
get
(
0
).
getBody
());
}
else
{
tvConmmentHint1
.
setVisibility
(
GONE
);
}
if
(
comments
!=
null
&&
comments
.
size
()
>
1
)
{
tvConmmentHint2
.
setVisibility
(
VISIBLE
);
tvConmmentHint2
.
setText
(
comments
.
get
(
1
).
getBody
());
}
else
{
tvConmmentHint2
.
setVisibility
(
GONE
);
}
if
(
comments
!=
null
&&
comments
.
size
()
>
2
)
{
tvConmmentHint3
.
setVisibility
(
VISIBLE
);
tvConmmentHint3
.
setText
(
comments
.
get
(
2
).
getBody
());
}
else
{
tvConmmentHint3
.
setVisibility
(
GONE
);
}
}
@Override
...
...
plugin_video/src/main/res/layout/layout_jcv_trill.xml
View file @
9bff3d9e
...
...
@@ -203,6 +203,7 @@
<android.support.v7.widget.RecyclerView
android:id=
"@+id/rv_content"
android:visibility=
"gone"
android:layout_width=
"wrap_content"
android:layout_height=
"@dimen/size_60"
/>
...
...
@@ -218,7 +219,7 @@
android:text=
"今年一定要去这里..."
android:textColor=
"@color/colorWrite"
android:textSize=
"@dimen/text_12"
android:visibility=
"
gon
e"
/>
android:visibility=
"
visibl
e"
/>
<TextView
android:id=
"@+id/tv_conmment_hint2"
...
...
@@ -233,7 +234,7 @@
android:text=
"各种颜色的集装箱,绝对是打卡圣地"
android:textColor=
"@color/colorWrite"
android:textSize=
"@dimen/text_12"
android:visibility=
"
gon
e"
/>
android:visibility=
"
visibl
e"
/>
<TextView
android:id=
"@+id/tv_conmment_hint3"
...
...
@@ -248,7 +249,7 @@
android:text=
"住在里面真的是面朝大海,春暖花开呀 很安静..."
android:textColor=
"@color/colorWrite"
android:textSize=
"@dimen/text_12"
android:visibility=
"
gon
e"
/>
android:visibility=
"
visibl
e"
/>
<TextView
android:id=
"@+id/tv_name"
...
...
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