entrance检查与统一

This commit is contained in:
huangzhuanghua
2017-01-20 17:11:03 +08:00
parent b3fc66f6b9
commit b2d568d646
72 changed files with 521 additions and 3895 deletions

View File

@ -29,6 +29,7 @@ import rx.schedulers.Schedulers;
/**
* Created by khy on 2016/10/18.
*
*/
public class WebActivity extends BaseActivity {
@ -41,6 +42,8 @@ public class WebActivity extends BaseActivity {
private String newsId;
private int commentNum;
private String entrance;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
@ -57,6 +60,8 @@ public class WebActivity extends BaseActivity {
}
// webUrl = "http://tieba.baidu.com/f?kw=%E7%BD%91%E6%98%93%E9%98%B4%E9%98%B3%E5%B8%88&red_tag=3194925450";
entrance = getIntent().getStringExtra("entrance");
View contentView = View.inflate(this, R.layout.activity_web, null);
init(contentView, webTitle);
@ -135,6 +140,7 @@ public class WebActivity extends BaseActivity {
Intent intent = new Intent(this, MessageDetailActivity.class);
intent.putExtra("newsId", newsId);
intent.putExtra("commentNum", commentNum);
intent.putExtra("entrance", entrance + "+(光环浏览器)");
startActivityForResult(intent, 1001);
}