Commit df3e5ed1 by 霍志良

fix:取消无法点击问题

parent 2239c85c
......@@ -20,9 +20,9 @@ import java.util.List;
public final class DemoGlobalConfig implements IConfigModule {
String APP_DOMAIN = "https://api.github.com/";
// public static String appEnv = YDLConstants.ENV_AUTO_TEST;
public static String appEnv = YDLConstants.ENV_TEST;
// public static String appEnv = YDLConstants.ENV_TEST;
// public static String appEnv = YDLConstants.ENV_NEW_TEST;//配置未上传到maven库
// public static String appEnv = YDLConstants.ENV_PROD;
public static String appEnv = YDLConstants.ENV_PROD;
@Override
public void injectAppLifecycle(@NotNull Context context, @NotNull List<IAppLifecycles> lifecycles) {
......
......@@ -10,7 +10,7 @@ ext {
"m-fm" : "0.0.30.03",
"m-user" : "0.0.61.37",
"m-home" : "0.0.22.68",
"m-im" : "0.0.19.53",
"m-im" : "0.0.19.54",
"m-dynamic" : "0.0.7.25",
"m-article" : "0.0.0.10",
......@@ -93,7 +93,7 @@ ext {
"m-fm" : "0.0.30.01",
"m-user" : "0.0.61.37",
"m-home" : "0.0.22.68",
"m-im" : "0.0.19.53",
"m-im" : "0.0.19.54",
"m-dynamic" : "0.0.7.25",
"m-article" : "0.0.0.8",
......
......@@ -627,14 +627,10 @@ public class P2PCustomActionHandlerImpl implements IP2PCustomActionHandler {
list.add("删除聊天记录");
}
ListDialog.Builder dialog = new ListDialog.Builder(mActivity, list, 0);
dialog.SetLastStr("取消");
list.add("取消");
dialog.create().show();
dialog.SetLastButton("取消", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
dialog.dismiss();
}
});
dialog.SetOnItemClickLister(new ListDialog.Builder.OnItemClickLister() {
@Override
public void onItemClick(Dialog dialog, View view, int position) {
......@@ -667,6 +663,8 @@ public class P2PCustomActionHandlerImpl implements IP2PCustomActionHandler {
case "ta的主页":
showUserHome();
break;
case "取消":
break;
}
dialog.dismiss();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment