修改UI
This commit is contained in:
parent
5b813aff88
commit
3a1268aac7
@ -128,12 +128,13 @@ public class CompensateActivity extends AbsActivity {
|
|||||||
|
|
||||||
if (!StringUtils.isEmpty(mBanner)) {
|
if (!StringUtils.isEmpty(mBanner)) {
|
||||||
ImgLoader.display(mContext, mBanner, imgContent);
|
ImgLoader.display(mContext, mBanner, imgContent);
|
||||||
|
findViewById(R.id.lt_advertisement).setVisibility(View.VISIBLE);
|
||||||
|
|
||||||
|
if (!StringUtils.isEmpty(link)) {
|
||||||
IMLoginModel userInfo = IMLoginManager.get(mContext).getUserInfo();
|
IMLoginModel userInfo = IMLoginManager.get(mContext).getUserInfo();
|
||||||
StringBuffer urlBuffer = new StringBuffer();
|
StringBuffer urlBuffer = new StringBuffer();
|
||||||
urlBuffer.append(link).append("&uid=").append(userInfo.getId()).append("&token=").append(userInfo.getToken()).append("&isZh=").append(WordUtil.isNewZh() ? "1" : 0);
|
urlBuffer.append(link).append("&uid=").append(userInfo.getId()).append("&token=").append(userInfo.getToken()).append("&isZh=").append(WordUtil.isNewZh() ? "1" : 0);
|
||||||
|
|
||||||
findViewById(R.id.lt_advertisement).setVisibility(View.VISIBLE);
|
|
||||||
findViewById(R.id.lt_advertisement).setOnClickListener(new View.OnClickListener() {
|
findViewById(R.id.lt_advertisement).setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
@ -142,6 +143,7 @@ public class CompensateActivity extends AbsActivity {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void getMessageGiftInfo() {
|
private void getMessageGiftInfo() {
|
||||||
ImHttpUtil.getMessageGiftInfo(msgId, new HttpCallback() {
|
ImHttpUtil.getMessageGiftInfo(msgId, new HttpCallback() {
|
||||||
|
Loading…
Reference in New Issue
Block a user