合并优化

This commit is contained in:
khy
2016-12-23 16:53:09 +08:00
parent 3ebbb27c3a
commit 0df714b9ea
17 changed files with 27 additions and 19 deletions

View File

@ -385,7 +385,9 @@ public class MessageDetailAdapter extends RecyclerView.Adapter<RecyclerView.View
bundle.putString("gameName", mConcernEntity.getGameName());
bundle.putString("gameIconUrl", mConcernEntity.getGameIcon());
bundle.putString("shareContent", shareContent);
bundle.putString("newsId", mConcernEntity.getId());
if (mConcernEntity.getLink() == null){
bundle.putString("newsId", mConcernEntity.getId());
}
bundle.putStringArrayList("shareArrImg", (ArrayList<String>) mConcernEntity.getImg());
intent.putExtras(bundle);
mContext.startActivity(intent);
@ -395,7 +397,9 @@ public class MessageDetailAdapter extends RecyclerView.Adapter<RecyclerView.View
bundle.putString("gameName", mConcernEntity.getGameName());
bundle.putString("gameIconUrl", mConcernEntity.getGameIcon());
bundle.putString("shareContent", shareContent);
bundle.putString("newsId", mConcernEntity.getId());
if (mConcernEntity.getLink() == null){
bundle.putString("newsId", mConcernEntity.getId());
}
intent.putExtras(bundle);
mContext.startActivity(intent);
}