Commit 9bff3d9e authored by linfeng's avatar linfeng

钱包微信提现

parent 3c19623d
......@@ -13,7 +13,6 @@ public class SwitchFragment {
}
}
public interface ChangeFragment {
void changge(int postion);
}
......
......@@ -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();
......
......@@ -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
......
......@@ -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="gone" />
android:visibility="visible" />
<TextView
android:id="@+id/tv_conmment_hint2"
......@@ -233,7 +234,7 @@
android:text="各种颜色的集装箱,绝对是打卡圣地"
android:textColor="@color/colorWrite"
android:textSize="@dimen/text_12"
android:visibility="gone" />
android:visibility="visible" />
<TextView
android:id="@+id/tv_conmment_hint3"
......@@ -248,7 +249,7 @@
android:text="住在里面真的是面朝大海,春暖花开呀 很安静..."
android:textColor="@color/colorWrite"
android:textSize="@dimen/text_12"
android:visibility="gone" />
android:visibility="visible" />
<TextView
android:id="@+id/tv_name"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment