Package 

Class ToastDialog

  • All Implemented Interfaces:
    android.content.DialogInterface , android.view.KeyEvent.Callback , android.view.View.OnCreateContextMenuListener , android.view.Window.Callback

    
    public final class ToastDialog
    extends Dialog
                        

    Author: liecoder Date: 2024/9/3 周二 Version: 1.0

    • Constructor Summary

      Constructors 
      Constructor Description
      ToastDialog(Context context)
    • Method Summary

      Modifier and Type Method Description
      final ToastDialog setShowLoading(Boolean show)
      final ToastDialog setMessage(CharSequence message)
      final ToastDialog setMessage(@StringRes() Integer messageRes)
      final ToastDialog setOperation(Function0<Unit> operation)
      final ToastDialog setShowOperation(Boolean show)
      final ToastDialog setOperationText(CharSequence text)
      final ToastDialog setOperationText(@StringRes() Integer textRes)
      Unit show()
      Unit dismiss()
      • Methods inherited from class com.liecoder.framework.dialog.ToastDialog

        addContentView, cancel, closeOptionsMenu, create, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOnBackInvokedDispatcher, getOwnerActivity, getSearchEvent, getVolumeControlStream, getWindow, hide, invalidateOptionsMenu, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreate, 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, onWindowFocusChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, setCancelMessage, setCancelable, setCanceledOnTouchOutside, setContentView, setContentView, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setTitle, setVolumeControlStream, takeKeyEvents, unregisterForContextMenu
      • Methods inherited from class android.app.Dialog

        onPointerCaptureChanged, onProvideKeyboardShortcuts
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait