entrance检查与统一
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user