| | |
| | | |
| | | |
| | | import android.app.Dialog; |
| | | import android.app.ProgressDialog; |
| | | import android.content.Context; |
| | | import android.content.SharedPreferences; |
| | | import android.graphics.Color; |
| | | import android.os.Build; |
| | | import android.os.Bundle; |
| | | import android.support.annotation.Nullable; |
| | | import android.util.Log; |
| | | import androidx.annotation.Nullable; |
| | | |
| | | import android.view.View; |
| | | import android.view.Window; |
| | | import android.view.WindowManager; |
| | | |
| | | import com.lcjian.library.dialog.DialogUtil; |
| | | import com.lcjian.library.util.SingleToast; |
| | | import com.tencent.mm.opensdk.modelbase.BaseReq; |
| | | import com.tencent.mm.opensdk.modelbase.BaseResp; |
| | |
| | | @Override |
| | | public void onStart() { |
| | | super.onStart(); |
| | | DialogUtil.show(dialog); |
| | | if (!dialog.isShowing()) |
| | | dialog.show(); |
| | | } |
| | |
| | | @Override |
| | | public void onFinish() { |
| | | super.onFinish(); |
| | | if (dialog.isShowing()) |
| | | dialog.dismiss(); |
| | | DialogUtil.dismiss(dialog); |
| | | } |
| | | |
| | | @Override |