AppDialogFragment

App对话框 Fragment:封装便捷的对话框API,使用时更简单

Author

Jenly Jenly

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val STYLE_NORMAL: Int = 0

Functions

Link copied to clipboard
open fun dismiss()
Link copied to clipboard
Link copied to clipboard
open fun dump(prefix: String, fd: FileDescriptor, writer: PrintWriter, args: Array<String>)
Link copied to clipboard
fun equals(o: Any): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getContext(): Context
Link copied to clipboard
open fun getDialog(): Dialog
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getHost(): Any
Link copied to clipboard
fun getId(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getRootLayoutId(): Int
获取根布局ID
Link copied to clipboard
Link copied to clipboard
fun getString(resId: Int): String
Link copied to clipboard
fun getTag(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getText(resId: Int): CharSequence
Link copied to clipboard
open fun getTheme(): Int
Link copied to clipboard
Link copied to clipboard
open fun getView(): View
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
open fun init(rootView: View)
初始化
Link copied to clipboard
open fun instantiate(context: Context, fname: String): Fragment
Link copied to clipboard
Link copied to clipboard
open fun isCancelable(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
新建一个 AppDialogFragment 实例
Link copied to clipboard
open fun onActivityCreated(savedInstanceState: Bundle)
Link copied to clipboard
open fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent)
Link copied to clipboard
open fun onAttach(context: Context)
Link copied to clipboard
open fun onAttachFragment(childFragment: Fragment)
Link copied to clipboard
open fun onCancel(dialog: DialogInterface)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onCreate(savedInstanceState: Bundle)
Link copied to clipboard
open fun onCreateAnimation(transit: Int, enter: Boolean, nextAnim: Int): Animation
Link copied to clipboard
open fun onCreateAnimator(transit: Int, enter: Boolean, nextAnim: Int): Animator
Link copied to clipboard
Link copied to clipboard
open fun onCreateDialog(savedInstanceState: Bundle): Dialog
open fun onCreateDialog(@Nullable savedInstanceState: Bundle): Dialog
Link copied to clipboard
open fun onCreateOptionsMenu(menu: Menu, inflater: MenuInflater)
Link copied to clipboard
open fun onCreateView(inflater: LayoutInflater, container: ViewGroup, savedInstanceState: Bundle): View
open fun onCreateView(@NonNull inflater: LayoutInflater, @Nullable container: ViewGroup, @Nullable savedInstanceState: Bundle): View
Link copied to clipboard
open fun onDestroy()
Link copied to clipboard
Link copied to clipboard
open fun onDestroyView()
Link copied to clipboard
open fun onDetach()
Link copied to clipboard
open fun onDismiss(dialog: DialogInterface)
Link copied to clipboard
open fun onGetLayoutInflater(savedInstanceState: Bundle): LayoutInflater
Link copied to clipboard
open fun onHiddenChanged(hidden: Boolean)
Link copied to clipboard
open fun onInflate(context: Context, attrs: AttributeSet, savedInstanceState: Bundle)
Link copied to clipboard
open fun onLowMemory()
Link copied to clipboard
open fun onMultiWindowModeChanged(isInMultiWindowMode: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun onOptionsMenuClosed(menu: Menu)
Link copied to clipboard
open fun onPause()
Link copied to clipboard
open fun onPictureInPictureModeChanged(isInPictureInPictureMode: Boolean)
Link copied to clipboard
open fun onPrepareOptionsMenu(menu: Menu)
Link copied to clipboard
open fun onPrimaryNavigationFragmentChanged(isPrimaryNavigationFragment: Boolean)
Link copied to clipboard
open fun onRequestPermissionsResult(requestCode: Int, permissions: Array<String>, grantResults: Array<Int>)
Link copied to clipboard
open fun onResume()
Link copied to clipboard
open fun onSaveInstanceState(outState: Bundle)
Link copied to clipboard
open fun onStart()
Link copied to clipboard
open fun onStop()
Link copied to clipboard
open fun onViewCreated(view: View, savedInstanceState: Bundle)
Link copied to clipboard
open fun onViewStateRestored(savedInstanceState: Bundle)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun requestPermissions(permissions: Array<String>, requestCode: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setArguments(args: Bundle)
Link copied to clipboard
open fun setCancelable(cancelable: Boolean)
Link copied to clipboard
open fun setEnterTransition(transition: Any)
Link copied to clipboard
open fun setExitTransition(transition: Any)
Link copied to clipboard
open fun setHasOptionsMenu(hasMenu: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setMenuVisibility(menuVisible: Boolean)
Link copied to clipboard
open fun setReenterTransition(transition: Any)
Link copied to clipboard
open fun setRetainInstance(retain: Boolean)
Link copied to clipboard
open fun setReturnTransition(transition: Any)
Link copied to clipboard
open fun setSharedElementEnterTransition(transition: Any)
Link copied to clipboard
Link copied to clipboard
open fun setShowsDialog(showsDialog: Boolean)
Link copied to clipboard
open fun setStyle(style: Int, theme: Int)
Link copied to clipboard
open fun setTargetFragment(fragment: Fragment, requestCode: Int)
Link copied to clipboard
open fun setupDialog(dialog: Dialog, style: Int)
Link copied to clipboard
open fun setUserVisibleHint(isVisibleToUser: Boolean)
Link copied to clipboard
open fun show(manager: FragmentManager, tag: String)
open fun show(transaction: FragmentTransaction, tag: String): Int
Link copied to clipboard
open fun showNow(manager: FragmentManager, tag: String)
Link copied to clipboard
open fun startActivity(intent: Intent)
Link copied to clipboard
open fun startActivityForResult(intent: Intent, requestCode: Int)
Link copied to clipboard
open fun startIntentSenderForResult(intent: IntentSender, requestCode: Int, fillInIntent: Intent, flagsMask: Int, flagsValues: Int, extraFlags: Int, options: Bundle)
Link copied to clipboard
Link copied to clipboard
open fun toString(): String
Link copied to clipboard