修复遮罩问题
This commit is contained in:
parent
38e85d20a4
commit
9b3483457f
@ -102,7 +102,7 @@ public class InstructorOperationDialog extends AbsDialogFragment {
|
|||||||
ImgLoader.display(mContext,home_zdy_img_cn, to_msg);
|
ImgLoader.display(mContext,home_zdy_img_cn, to_msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
NoviceInstructorManager.get(getActivity()).setHomeZdyPop("");
|
|
||||||
mRootView.findViewById(R.id.to_msg).setOnClickListener(new View.OnClickListener() {
|
mRootView.findViewById(R.id.to_msg).setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
|
@ -6,4 +6,5 @@ import com.yunbao.common.bean.BaseModel;
|
|||||||
* 新人面向指导员的跳转弹窗
|
* 新人面向指导员的跳转弹窗
|
||||||
*/
|
*/
|
||||||
public class InstructorOperationEvent extends BaseModel {
|
public class InstructorOperationEvent extends BaseModel {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -45,6 +45,11 @@ public class NoviceInstructorManager extends BaseCacheManager {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public String getHomeZdyPop() {
|
||||||
|
return homeZdyPop;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 呼出指导员引导弹窗
|
* 呼出指导员引导弹窗
|
||||||
*
|
*
|
||||||
@ -52,7 +57,7 @@ public class NoviceInstructorManager extends BaseCacheManager {
|
|||||||
*/
|
*/
|
||||||
public NoviceInstructorManager setHomeZdyPop(String homeZdyPop) {
|
public NoviceInstructorManager setHomeZdyPop(String homeZdyPop) {
|
||||||
this.homeZdyPop = homeZdyPop;
|
this.homeZdyPop = homeZdyPop;
|
||||||
netHandler.post(instructorOperationOpenRunnable);
|
netHandler.postDelayed(instructorOperationOpenRunnable,800);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -61,7 +66,7 @@ public class NoviceInstructorManager extends BaseCacheManager {
|
|||||||
*/
|
*/
|
||||||
public void checktHomeZdyPop() {
|
public void checktHomeZdyPop() {
|
||||||
if (!TextUtils.isEmpty(homeZdyPop) && TextUtils.equals(homeZdyPop, "1") && !isFrist) {
|
if (!TextUtils.isEmpty(homeZdyPop) && TextUtils.equals(homeZdyPop, "1") && !isFrist) {
|
||||||
netHandler.post(instructorOperationOpenRunnable);
|
netHandler.postDelayed(instructorOperationOpenRunnable,800);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -87,7 +92,7 @@ public class NoviceInstructorManager extends BaseCacheManager {
|
|||||||
model = new Gson().fromJson(getString(KEY_NOVICE_INSTRUCTOR), NoviceInstructorModel.class);
|
model = new Gson().fromJson(getString(KEY_NOVICE_INSTRUCTOR), NoviceInstructorModel.class);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
netHandler.post(instructorOperationRunnable);
|
netHandler.postDelayed(instructorOperationRunnable, 1000);
|
||||||
}
|
}
|
||||||
return model;
|
return model;
|
||||||
}
|
}
|
||||||
@ -142,7 +147,7 @@ public class NoviceInstructorManager extends BaseCacheManager {
|
|||||||
model = new Gson().fromJson(info, NoviceInstructorModel.class);
|
model = new Gson().fromJson(info, NoviceInstructorModel.class);
|
||||||
setNoviceInstructor(model);
|
setNoviceInstructor(model);
|
||||||
if (model != null) {
|
if (model != null) {
|
||||||
netHandler.post(instructorOperationRunnable);
|
netHandler.postDelayed(instructorOperationRunnable, 800);
|
||||||
}
|
}
|
||||||
} catch (JsonSyntaxException ignored) {
|
} catch (JsonSyntaxException ignored) {
|
||||||
}
|
}
|
||||||
|
@ -264,7 +264,7 @@ public class PDLiveConversationActivity extends AbsActivity implements View.OnCl
|
|||||||
RongIMClient.getInstance().getTextMessageDraft(Conversation.ConversationType.PRIVATE, targetId, new RongIMClient.ResultCallback<String>() {
|
RongIMClient.getInstance().getTextMessageDraft(Conversation.ConversationType.PRIVATE, targetId, new RongIMClient.ResultCallback<String>() {
|
||||||
@Override
|
@Override
|
||||||
public void onSuccess(String s) {
|
public void onSuccess(String s) {
|
||||||
if (!TextUtils.isEmpty(inputPanel.getPresetInformation()))
|
if (!TextUtils.isEmpty(s))
|
||||||
inputPanel.setPresetInformation(s);
|
inputPanel.setPresetInformation(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1286,6 +1286,7 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene
|
|||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
bundle.putInt(PDLiveConversationListActivity.MESSAGENUMBER, messageNumber);
|
bundle.putInt(PDLiveConversationListActivity.MESSAGENUMBER, messageNumber);
|
||||||
bundle.putInt(PDLiveConversationListActivity.NUMBERME, numberMe);
|
bundle.putInt(PDLiveConversationListActivity.NUMBERME, numberMe);
|
||||||
|
bundle.putString(PDLiveConversationListActivity.POP, NoviceInstructorManager.get(this).getHomeZdyPop());
|
||||||
ConversationIMListManager.get(mContext).jumpConversationList(bundle);
|
ConversationIMListManager.get(mContext).jumpConversationList(bundle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,6 +40,7 @@ import com.yunbao.common.glide.ImgLoader;
|
|||||||
import com.yunbao.common.http.HttpCallback;
|
import com.yunbao.common.http.HttpCallback;
|
||||||
import com.yunbao.common.http.live.LiveNetManager;
|
import com.yunbao.common.http.live.LiveNetManager;
|
||||||
import com.yunbao.common.manager.IMLoginManager;
|
import com.yunbao.common.manager.IMLoginManager;
|
||||||
|
import com.yunbao.common.manager.NoviceInstructorManager;
|
||||||
import com.yunbao.common.manager.imrongcloud.MessageIMManager;
|
import com.yunbao.common.manager.imrongcloud.MessageIMManager;
|
||||||
import com.yunbao.common.utils.DeviceUtils;
|
import com.yunbao.common.utils.DeviceUtils;
|
||||||
import com.yunbao.common.utils.DialogUitl;
|
import com.yunbao.common.utils.DialogUitl;
|
||||||
@ -81,7 +82,7 @@ import static com.yunbao.common.CommonAppContext.isReady;
|
|||||||
public class PDLiveConversationListActivity extends AbsActivity implements View.OnClickListener {
|
public class PDLiveConversationListActivity extends AbsActivity implements View.OnClickListener {
|
||||||
//菜单
|
//菜单
|
||||||
private TabButtonGroup mTabButtonGroup;
|
private TabButtonGroup mTabButtonGroup;
|
||||||
public static String CLASSNAME = "PDLiveConversationListActivity", MESSAGENUMBER = "messageNumber", NUMBERME = "numberMe";
|
public static String CLASSNAME = "PDLiveConversationListActivity", MESSAGENUMBER = "messageNumber", NUMBERME = "numberMe", POP = "pop";
|
||||||
private PDLiveConversationListActivity mContext;
|
private PDLiveConversationListActivity mContext;
|
||||||
private ConversationListFragment conversationListFragment;
|
private ConversationListFragment conversationListFragment;
|
||||||
private FrameLayout container;
|
private FrameLayout container;
|
||||||
@ -199,9 +200,15 @@ public class PDLiveConversationListActivity extends AbsActivity implements View.
|
|||||||
container.post(new Runnable() {
|
container.post(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
// showGuideView();
|
String homeZdyPop = getIntent().getStringExtra(POP);
|
||||||
|
if (TextUtils.equals(homeZdyPop, "1")) {
|
||||||
|
showGuideView();
|
||||||
|
NoviceInstructorManager.get(mContext).setHomeZdyPop("");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void showStartDialog() {
|
private void showStartDialog() {
|
||||||
@ -591,6 +598,7 @@ public class PDLiveConversationListActivity extends AbsActivity implements View.
|
|||||||
MessageIMManager.get(mContext).setSystemNumber(systemNumber);
|
MessageIMManager.get(mContext).setSystemNumber(systemNumber);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||||
public void onRecommendLiveRoomEvent(RecommendLiveRoomEvent event) {
|
public void onRecommendLiveRoomEvent(RecommendLiveRoomEvent event) {
|
||||||
LiveHttpUtil.getLiveInfo(event.getLiveuid(), new HttpCallback() {
|
LiveHttpUtil.getLiveInfo(event.getLiveuid(), new HttpCallback() {
|
||||||
@ -611,4 +619,6 @@ public class PDLiveConversationListActivity extends AbsActivity implements View.
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user