|
|
@@ -4,6 +4,8 @@ package com.sheep.gamegroup.view.fragment;
|
|
|
import android.content.Intent;
|
|
|
import android.support.v7.widget.RecyclerView;
|
|
|
|
|
|
+import com.sheep.gamegroup.event.BigEvent;
|
|
|
+import com.sheep.gamegroup.event.EventTypes;
|
|
|
import com.sheep.gamegroup.model.api.ApiService;
|
|
|
import com.sheep.gamegroup.model.entity.BaseMessage;
|
|
|
import com.sheep.gamegroup.model.entity.MessageReplyEntity;
|
|
|
@@ -13,6 +15,8 @@ import com.sheep.gamegroup.view.activity.MessageInteractionDetailActivity;
|
|
|
import com.sheep.gamegroup.view.adapter.MessageRightAdapter;
|
|
|
import com.sheep.jiuyan.samllsheep.SheepApp;
|
|
|
|
|
|
+import org.greenrobot.eventbus.EventBus;
|
|
|
+
|
|
|
import java.util.Locale;
|
|
|
|
|
|
import io.reactivex.Observable;
|
|
|
@@ -56,6 +60,7 @@ public class FgtMsgReply extends BaseListFragment2<MessageReplyEntity> implement
|
|
|
|
|
|
@Override
|
|
|
public void itemClick(int position) {
|
|
|
+ EventBus.getDefault().post(new BigEvent(EventTypes.FGT_SHEEP_HOME_MESSAGE_COUNT));
|
|
|
Intent intent = new Intent(activity, MessageInteractionDetailActivity.class);
|
|
|
intent.putExtra("id", position);
|
|
|
startActivity(new Intent(intent));
|