fixed conflict
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.mogo.module.share;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.Log;
|
||||
|
||||
import com.mogo.module.share.dialog.LaucherShareDialog;
|
||||
|
||||
@@ -13,6 +14,7 @@ public class ShareControl implements IShareControl {
|
||||
|
||||
private static volatile ShareControl sInstance;
|
||||
private Context mContext;
|
||||
LaucherShareDialog mShareDialog;
|
||||
|
||||
private ShareControl(Context context) {
|
||||
mContext = context;
|
||||
@@ -32,14 +34,14 @@ public class ShareControl implements IShareControl {
|
||||
|
||||
@Override
|
||||
public void showDialog() {
|
||||
LaucherShareDialog shareDialog = new LaucherShareDialog(mContext);
|
||||
shareDialog.setCanceledOnTouchOutside(true);
|
||||
shareDialog.show();
|
||||
mShareDialog = new LaucherShareDialog(mContext);
|
||||
mShareDialog.setCanceledOnTouchOutside(true);
|
||||
mShareDialog.show();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void dismissDialog() {
|
||||
LaucherShareDialog shareDialog = new LaucherShareDialog(mContext);
|
||||
shareDialog.dismiss();
|
||||
mShareDialog.dismiss();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user