优化礼包模块
This commit is contained in:
@ -470,7 +470,8 @@ public class MessageDetailActivity extends BaseActivity implements MessageDetail
|
||||
@Override
|
||||
public boolean onKeyDown(int keyCode, KeyEvent event) {
|
||||
if ((keyCode == KeyEvent.KEYCODE_BACK)) {
|
||||
if (commentNum != -1 && commentNum != adapter.getConcernEntity().getCommentnum()) {
|
||||
if (commentNum != -1 && adapter.getConcernEntity() != null
|
||||
&& commentNum != adapter.getConcernEntity().getCommentnum()) {
|
||||
Intent intent= new Intent();
|
||||
intent.putExtra("commentNum", adapter.getConcernEntity().getCommentnum());
|
||||
setResult(1001, intent);
|
||||
|
||||
Reference in New Issue
Block a user