消息评论功能 基本完成
This commit is contained in:
@ -6,8 +6,10 @@ import android.content.Intent;
|
||||
import com.android.volley.Request;
|
||||
import com.gh.base.AppController;
|
||||
import com.gh.common.constant.Config;
|
||||
import com.gh.gamecenter.MessageDetailActivity;
|
||||
import com.gh.gamecenter.NewsDetailActivity;
|
||||
import com.gh.gamecenter.R;
|
||||
import com.gh.gamecenter.entity.ConcernEntity;
|
||||
import com.gh.gamecenter.entity.NewsEntity;
|
||||
import com.gh.gamecenter.volley.extended.JsonObjectExtendedRequest;
|
||||
|
||||
@ -49,6 +51,20 @@ public class NewsUtils {
|
||||
context.startActivity(intent);
|
||||
}
|
||||
|
||||
/*
|
||||
* 启动消息详情页面
|
||||
*/
|
||||
|
||||
public static void startMessageActivity(Context context, ConcernEntity concernEntity, String entrance) {
|
||||
AppController.put("ConcernEntity", concernEntity);
|
||||
Intent intent = new Intent(context, MessageDetailActivity.class);
|
||||
intent.putExtra("entrance", entrance);
|
||||
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
context.startActivity(intent);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 统计阅读量
|
||||
* @param news_id
|
||||
|
||||
Reference in New Issue
Block a user