修复:我的页面我的等修改只想新页面,优化:修改加入直播间报错
This commit is contained in:
parent
7ed4043a1f
commit
ce0061e86e
@ -5,13 +5,13 @@ ext {
|
|||||||
minSdkVersion : 21,
|
minSdkVersion : 21,
|
||||||
targetSdkVersion : 31,
|
targetSdkVersion : 31,
|
||||||
versionCode : 310,
|
versionCode : 310,
|
||||||
versionName : "6.4.5"
|
versionName : "6.4.6"
|
||||||
]
|
]
|
||||||
manifestPlaceholders = [
|
manifestPlaceholders = [
|
||||||
//正式
|
//正式
|
||||||
|
|
||||||
serverHost : "https://napi.yaoulive.com",
|
serverHost : "https://napi.yaoulive.com",
|
||||||
//測試
|
// 測試
|
||||||
// serverHost : "https://ceshi.yaoulive.com",
|
// serverHost : "https://ceshi.yaoulive.com",
|
||||||
|
|
||||||
//腾讯地图
|
//腾讯地图
|
||||||
|
@ -90,7 +90,7 @@ public class SocketRyClient {
|
|||||||
@Override
|
@Override
|
||||||
public void onError(IRongCoreEnum.CoreErrorCode coreErrorCode) {
|
public void onError(IRongCoreEnum.CoreErrorCode coreErrorCode) {
|
||||||
Log.i("tx", "加入" + "失败" + coreErrorCode);
|
Log.i("tx", "加入" + "失败" + coreErrorCode);
|
||||||
ToastUtil.show(coreErrorCode + ":加入失败");
|
ToastUtil.show("網絡不佳無法連接,請重新進入");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -343,8 +343,8 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi
|
|||||||
tv_level.setOnClickListener(new View.OnClickListener() {
|
tv_level.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View view) {
|
public void onClick(View view) {
|
||||||
String url = CommonAppConfig.HOST + "/index.php?g=Appapi&m=Level&a=index" + "&token=" + CommonAppConfig.getInstance().getToken() + "&uid=" + CommonAppConfig.getInstance().getUid() + "&for";
|
String url = CommonAppConfig.HOST + "/h5/Grade/index.html?" + "token=" + CommonAppConfig.getInstance().getToken() + "&uid=" + CommonAppConfig.getInstance().getUid() + "&for";
|
||||||
WebViewActivity.forward(mContext, url);
|
ZhuangBanActivity.forward(mContext, url);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
tv_level.setText(anchorLevelBean.getLevel() + "");
|
tv_level.setText(anchorLevelBean.getLevel() + "");
|
||||||
@ -358,8 +358,8 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi
|
|||||||
tv_level.setOnClickListener(new View.OnClickListener() {
|
tv_level.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View view) {
|
public void onClick(View view) {
|
||||||
String url = CommonAppConfig.HOST + "/index.php?g=Appapi&m=Level&a=index" + "&token=" + CommonAppConfig.getInstance().getToken() + "&uid=" + CommonAppConfig.getInstance().getUid();
|
String url = CommonAppConfig.HOST + "/h5/Grade/index.html?" + "token=" + CommonAppConfig.getInstance().getToken() + "&uid=" + CommonAppConfig.getInstance().getUid();
|
||||||
WebViewActivity.forward(mContext, url);
|
ZhuangBanActivity.forward(mContext, url);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
tv_level.setText(levelBean.getLevel() + "");
|
tv_level.setText(levelBean.getLevel() + "");
|
||||||
@ -457,30 +457,30 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi
|
|||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
|
|
||||||
int i = v.getId();
|
int i = v.getId();
|
||||||
if (i == R.id.lt_name) {
|
if (i == R.id.lt_name) {
|
||||||
mContext.startActivity(new Intent(mContext, EditProfileActivity.class));
|
mContext.startActivity(new Intent(mContext, EditProfileActivity.class));
|
||||||
} else if (i == R.id.signature) {
|
} else if (i == R.id.signature) {
|
||||||
mContext.startActivity(new Intent(mContext, EditProfileActivity.class));
|
mContext.startActivity(new Intent(mContext, EditProfileActivity.class));
|
||||||
}
|
}
|
||||||
else if (i == R.id.lt_star_coin) {
|
else if (i == R.id.lt_star_coin) {
|
||||||
mContext.startActivity(new Intent(mContext, MyWalletActivity.class).putExtra("p", 1));
|
mContext.startActivity(new Intent(mContext, MyWalletActivity.class).putExtra("p", 1));
|
||||||
} else if (i == R.id.btn_coin) {
|
} else if (i == R.id.btn_coin) {
|
||||||
mContext.startActivity(new Intent(mContext, MyWalletActivity.class).putExtra("p", 0));
|
mContext.startActivity(new Intent(mContext, MyWalletActivity.class).putExtra("p", 0));
|
||||||
} else if (i == R.id.btn_gold) {
|
} else if (i == R.id.btn_gold) {
|
||||||
// mContext.startActivity(new Intent(mContext, MyWalletActivity.class).putExtra("p", 2));
|
// mContext.startActivity(new Intent(mContext, MyWalletActivity.class).putExtra("p", 2));
|
||||||
String url = CommonAppConfig.HOST + "/index.php?g=Appapi&m=task&a=index";
|
String url = CommonAppConfig.HOST + "/index.php?g=Appapi&m=task&a=index";
|
||||||
RewardActivity.forward(mContext, url);
|
RewardActivity.forward(mContext, url);
|
||||||
} else if (i == R.id.rt_kefu) {
|
} else if (i == R.id.rt_kefu) {
|
||||||
WebViewActivity.forward(mContext, beanKefu.getHref());
|
WebViewActivity.forward(mContext, beanKefu.getHref());
|
||||||
} else if (i == R.id.rt_setting) {
|
} else if (i == R.id.rt_setting) {
|
||||||
forwardSetting();
|
forwardSetting();
|
||||||
} else if (i == R.id.lt_noble) {
|
} else if (i == R.id.lt_noble) {
|
||||||
Constants.isTitle = true;
|
Constants.isTitle = true;
|
||||||
UserBean u = CommonAppConfig.getInstance().getUserBean();
|
UserBean u = CommonAppConfig.getInstance().getUserBean();
|
||||||
String url = CommonAppConfig.HOST + "/h5/Noble/index.html?nickname=" + u.getUserNiceName() + "&usernobId=" + u.getNoble_id() + "&token=" + CommonAppConfig.getInstance().getToken() + "&uid=" + CommonAppConfig.getInstance().getUid();
|
String url = CommonAppConfig.HOST + "/h5/Noble/index.html?nickname=" + u.getUserNiceName() + "&usernobId=" + u.getNoble_id() + "&token=" + CommonAppConfig.getInstance().getToken() + "&uid=" + CommonAppConfig.getInstance().getUid();
|
||||||
ZhuangBanActivity.forward(mContext, url, false);
|
ZhuangBanActivity.forward(mContext, url, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -606,3 +606,4 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user