Package com.aliucord.fragments
Class FragmentProxy
-
- All Implemented Interfaces:
-
android.content.ComponentCallbacks
,android.view.View.OnCreateContextMenuListener
,androidx.activity.result.ActivityResultCaller
,androidx.lifecycle.HasDefaultViewModelProviderFactory
,androidx.lifecycle.LifecycleOwner
,androidx.lifecycle.ViewModelStoreOwner
,androidx.savedstate.SavedStateRegistryOwner
,com.discord.app.AppComponent
public class FragmentProxy extends Fragment implements AppComponent
-
-
Constructor Summary
Constructors Constructor Description FragmentProxy()
-
Method Summary
-
Methods inherited from class androidx.fragment.app.Fragment
equals, getActivity, getArguments, getChildFragmentManager, getDefaultViewModelProviderFactory, getFragmentManager, getHost, getId, getLayoutInflater, getParentFragment, getParentFragmentManager, getResources, getRetainInstance, getSavedStateRegistry, getString, getTag, getTargetFragment, getTargetRequestCode, getText, hasOptionsMenu, hashCode, instantiate, isAdded, isDetached, isHidden, isInLayout, isMenuVisible, isRemoving, isResumed, isStateSaved, isVisible, onGetLayoutInflater, registerForActivityResult, requestPermissions, requireActivity, requireArguments, requireContext, requireFragmentManager, requireHost, requireParentFragment, requireView, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getUnsubscribeSignal
Subject<Void, Void> getUnsubscribeSignal()
-
getLifecycle
@NonNull() Lifecycle getLifecycle()
-
getViewLifecycleOwner
@NonNull() LifecycleOwner getViewLifecycleOwner()
-
getViewLifecycleOwnerLiveData
@NonNull() LiveData<LifecycleOwner> getViewLifecycleOwnerLiveData()
-
getViewModelStore
@NonNull() ViewModelStore getViewModelStore()
-
setArguments
void setArguments(@Nullable() Bundle args)
-
setInitialSavedState
void setInitialSavedState(@Nullable() Fragment.SavedState state)
-
setTargetFragment
void setTargetFragment(@Nullable() Fragment fragment, int requestCode)
-
getContext
@Nullable() Context getContext()
-
onHiddenChanged
void onHiddenChanged(boolean hidden)
-
setRetainInstance
void setRetainInstance(boolean retain)
-
setHasOptionsMenu
void setHasOptionsMenu(boolean hasMenu)
-
setMenuVisibility
void setMenuVisibility(boolean menuVisible)
-
setUserVisibleHint
void setUserVisibleHint(boolean isVisibleToUser)
-
getUserVisibleHint
boolean getUserVisibleHint()
-
getLoaderManager
@NonNull() LoaderManager getLoaderManager()
-
startActivity
void startActivity(Intent intent)
-
startActivity
void startActivity(Intent intent, @Nullable() Bundle options)
-
startActivityForResult
void startActivityForResult(Intent intent, int requestCode)
-
startActivityForResult
void startActivityForResult(Intent intent, int requestCode, @Nullable() Bundle options)
-
startIntentSenderForResult
void startIntentSenderForResult(IntentSender intent, int requestCode, @Nullable() Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, @Nullable() Bundle options)
-
onActivityResult
void onActivityResult(int requestCode, int resultCode, @Nullable() Intent data)
-
onRequestPermissionsResult
void onRequestPermissionsResult(int requestCode, @NonNull() Array<String> permissions, @NonNull() Array<int> grantResults)
-
shouldShowRequestPermissionRationale
boolean shouldShowRequestPermissionRationale(@NonNull() String permission)
-
onInflate
void onInflate(@NonNull() Context context, @NonNull() AttributeSet attrs, @Nullable() Bundle savedInstanceState)
-
onInflate
void onInflate(@NonNull() Activity activity, @NonNull() AttributeSet attrs, @Nullable() Bundle savedInstanceState)
-
onAttachFragment
void onAttachFragment(@NonNull() Fragment childFragment)
-
onCreateAnimation
@Nullable() Animation onCreateAnimation(int transit, boolean enter, int nextAnim)
-
onCreateAnimator
@Nullable() Animator onCreateAnimator(int transit, boolean enter, int nextAnim)
-
onCreateView
@Nullable() View onCreateView(@NonNull() LayoutInflater inflater, @Nullable() ViewGroup container, @Nullable() Bundle savedInstanceState)
-
onViewCreated
void onViewCreated(@NonNull() View view, @Nullable() Bundle savedInstanceState)
-
onActivityCreated
void onActivityCreated(@Nullable() Bundle savedInstanceState)
-
onViewStateRestored
void onViewStateRestored(@Nullable() Bundle savedInstanceState)
-
onStart
void onStart()
-
onResume
void onResume()
-
onSaveInstanceState
void onSaveInstanceState(@NonNull() Bundle outState)
-
onMultiWindowModeChanged
void onMultiWindowModeChanged(boolean isInMultiWindowMode)
-
onPictureInPictureModeChanged
void onPictureInPictureModeChanged(boolean isInPictureInPictureMode)
-
onConfigurationChanged
void onConfigurationChanged(@NonNull() Configuration newConfig)
-
onPrimaryNavigationFragmentChanged
void onPrimaryNavigationFragmentChanged(boolean isPrimaryNavigationFragment)
-
onPause
void onPause()
-
onStop
void onStop()
-
onLowMemory
void onLowMemory()
-
onDestroyView
void onDestroyView()
-
onDestroy
void onDestroy()
-
onDetach
void onDetach()
-
onCreateOptionsMenu
void onCreateOptionsMenu(@NonNull() Menu menu, @NonNull() MenuInflater inflater)
-
onPrepareOptionsMenu
void onPrepareOptionsMenu(@NonNull() Menu menu)
-
onDestroyOptionsMenu
void onDestroyOptionsMenu()
-
onOptionsItemSelected
boolean onOptionsItemSelected(@NonNull() MenuItem item)
-
onOptionsMenuClosed
void onOptionsMenuClosed(@NonNull() Menu menu)
-
onCreateContextMenu
void onCreateContextMenu(@NonNull() ContextMenu menu, @NonNull() View v, @Nullable() ContextMenu.ContextMenuInfo menuInfo)
-
registerForContextMenu
void registerForContextMenu(@NonNull() View view)
-
unregisterForContextMenu
void unregisterForContextMenu(@NonNull() View view)
-
onContextItemSelected
boolean onContextItemSelected(@NonNull() MenuItem item)
-
setEnterSharedElementCallback
void setEnterSharedElementCallback(@Nullable() SharedElementCallback callback)
-
setExitSharedElementCallback
void setExitSharedElementCallback(@Nullable() SharedElementCallback callback)
-
setEnterTransition
void setEnterTransition(@Nullable() Object transition)
-
getEnterTransition
@Nullable() Object getEnterTransition()
-
setReturnTransition
void setReturnTransition(@Nullable() Object transition)
-
getReturnTransition
@Nullable() Object getReturnTransition()
-
setExitTransition
void setExitTransition(@Nullable() Object transition)
-
getExitTransition
@Nullable() Object getExitTransition()
-
setReenterTransition
void setReenterTransition(@Nullable() Object transition)
-
getReenterTransition
@Nullable() Object getReenterTransition()
-
setSharedElementEnterTransition
void setSharedElementEnterTransition(@Nullable() Object transition)
-
getSharedElementEnterTransition
@Nullable() Object getSharedElementEnterTransition()
-
setSharedElementReturnTransition
void setSharedElementReturnTransition(@Nullable() Object transition)
-
getSharedElementReturnTransition
@Nullable() Object getSharedElementReturnTransition()
-
setAllowEnterTransitionOverlap
void setAllowEnterTransitionOverlap(boolean allow)
-
getAllowEnterTransitionOverlap
boolean getAllowEnterTransitionOverlap()
-
setAllowReturnTransitionOverlap
void setAllowReturnTransitionOverlap(boolean allow)
-
getAllowReturnTransitionOverlap
boolean getAllowReturnTransitionOverlap()
-
postponeEnterTransition
void postponeEnterTransition()
-
startPostponedEnterTransition
void startPostponedEnterTransition()
-
dump
void dump(@NonNull() String prefix, @Nullable() FileDescriptor fd, @NonNull() PrintWriter writer, @Nullable() Array<String> args)
-
getmFragment
Fragment getmFragment()
-
-
-
-