修复跳转
This commit is contained in:
@@ -103,6 +103,15 @@ public class CommentAdapter extends RecyclerView.Adapter {
|
||||
}
|
||||
}
|
||||
});
|
||||
report1.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
if (onItemClickListener != null) {
|
||||
CommentBean.ReplyComment bean = (CommentBean.ReplyComment) v.getTag();
|
||||
onItemClickListener.onReport(bean);
|
||||
}
|
||||
}
|
||||
});
|
||||
replyTextView.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
|
||||
@@ -62,6 +62,7 @@ public class RouteUtil {
|
||||
.withString(Constants.TO_UID, uid)
|
||||
.navigation();
|
||||
}
|
||||
|
||||
public static void forwardCommunity(String id) {
|
||||
ARouter.getInstance().build(PATH_COMMUNITY)
|
||||
.withString(Constants.TO_COMMUNITY_ID, id)
|
||||
@@ -71,6 +72,7 @@ public class RouteUtil {
|
||||
public static void forwardVideoActivity() {
|
||||
|
||||
}
|
||||
|
||||
public static final String PATH_ADDRESSBOOK = "/main/MsgAddressBookActivity";
|
||||
|
||||
|
||||
@@ -156,14 +158,17 @@ public class RouteUtil {
|
||||
* 跳转到个人主页
|
||||
*/
|
||||
public static void forwardMainUserHome(Context context, String toUid, boolean fromLiveRoom, String fromLiveUid, int intoIndex) {
|
||||
String url = HtmlConfig.PERSONAL + "?touid=" + toUid + "&isHomePage=1" + "&fromType=0";
|
||||
ARouter.getInstance().build(PATH_USER_HOME)
|
||||
.withString(Constants.TO_UID, toUid)
|
||||
.navigation();
|
||||
/* String url = HtmlConfig.PERSONAL + "?touid=" + toUid + "&isHomePage=1" + "&fromType=0";
|
||||
if (!"".equals(Constants.chatActionUrl)) {
|
||||
url = Constants.chatActionUrl;
|
||||
}
|
||||
Constants.myUrl = url + "&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&t=" + System.currentTimeMillis() + "&isZh=" + ((IMLoginManager.get(context).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0");
|
||||
ARouter.getInstance().build(PATH_MYWEBVIEWACTIVTITY)
|
||||
.withString(Constants.URL, url)
|
||||
.navigation();
|
||||
.navigation();*/
|
||||
}
|
||||
|
||||
|
||||
@@ -399,8 +404,8 @@ public class RouteUtil {
|
||||
|
||||
public static void forwardVideoPlayActivity(ActiveBean bean) {
|
||||
ARouter.getInstance().build(PATH_VIDEO_PLAY)
|
||||
.withParcelable("ActiveBean",bean)
|
||||
.withString(Constants.VIDEO_KEY,Constants.VIDEO_SINGLE)
|
||||
.withParcelable("ActiveBean", bean)
|
||||
.withString(Constants.VIDEO_KEY, Constants.VIDEO_SINGLE)
|
||||
.navigation();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@mipmap/main_bg"
|
||||
android:background="@color/white"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.yunbao.common.views.MyScrollview
|
||||
|
||||
Reference in New Issue
Block a user