public class UploadCoverDialog extends com.app.security.util.MemoryDialog implements org.hybridsquad.android.library.CropHandler, UploadAvatarPresenter.OnUpdateAvatarListener
android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener
限定符和类型 | 字段和说明 |
---|---|
protected UploadAvatarPresenter |
mPresenter |
protected int |
mVtype |
构造器和说明 |
---|
UploadCoverDialog(android.app.Activity context) |
限定符和类型 | 方法和说明 |
---|---|
static UploadCoverDialog |
createDialog(android.app.Activity context) |
void |
dismiss() |
android.app.Activity |
getCropContext() |
org.hybridsquad.android.library.CropParams |
getCropParams() |
void |
handleIntent(android.content.Intent intent,
int requestCode) |
void |
onCancel() |
void |
onCompressed(android.net.Uri uri) |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
void |
onFailed(java.lang.String message) |
void |
onPhotoCropped(android.net.Uri uri) |
void |
onWindowFocusChanged(boolean hasFocus) |
void |
setData(int mVtype,
java.lang.String vid,
UploadCoverLiveMessage msg) |
void |
setListener(UploadCoverManager.onUploadCoverDialogClickListener listener) |
void |
startUploadAvatarAndCover() |
void |
uploadAvatarAndCoverResult(int result,
java.lang.Object objParam) |
isActivityValid, isBottomEntryDialog, isContextAvailable, realDismiss, realShow, setBottomEntryDialog, setContentView, setContentView, setContentView, setOnDismissListener, show
addContentView, cancel, closeOptionsMenu, create, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOwnerActivity, getSearchEvent, getVolumeControlStream, getWindow, hide, invalidateOptionsMenu, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onSearchRequested, onStart, onStop, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, setCancelable, setCanceledOnTouchOutside, setCancelMessage, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setTitle, setVolumeControlStream, takeKeyEvents, unregisterForContextMenu
protected UploadAvatarPresenter mPresenter
protected int mVtype
public static UploadCoverDialog createDialog(android.app.Activity context)
protected void onCreate(android.os.Bundle savedInstanceState)
onCreate
在类中 android.app.Dialog
public void setData(int mVtype, java.lang.String vid, UploadCoverLiveMessage msg)
public void startUploadAvatarAndCover()
public void uploadAvatarAndCoverResult(int result, java.lang.Object objParam)
public void onPhotoCropped(android.net.Uri uri)
onPhotoCropped
在接口中 org.hybridsquad.android.library.CropHandler
public void onCompressed(android.net.Uri uri)
onCompressed
在接口中 org.hybridsquad.android.library.CropHandler
public void onCancel()
onCancel
在接口中 org.hybridsquad.android.library.CropHandler
public void onFailed(java.lang.String message)
onFailed
在接口中 org.hybridsquad.android.library.CropHandler
public void handleIntent(android.content.Intent intent, int requestCode)
handleIntent
在接口中 org.hybridsquad.android.library.CropHandler
public org.hybridsquad.android.library.CropParams getCropParams()
getCropParams
在接口中 org.hybridsquad.android.library.CropHandler
public android.app.Activity getCropContext()
getCropContext
在接口中 org.hybridsquad.android.library.CropHandler
public void setListener(UploadCoverManager.onUploadCoverDialogClickListener listener)
public void dismiss()
dismiss
在接口中 android.content.DialogInterface
dismiss
在类中 com.app.security.util.MemoryDialog
public void onWindowFocusChanged(boolean hasFocus)
onWindowFocusChanged
在接口中 android.view.Window.Callback
onWindowFocusChanged
在类中 android.app.Dialog