Package 

Class KatanaFragment

  • All Implemented Interfaces:
    android.content.ComponentCallbacks , android.view.View.OnCreateContextMenuListener , androidx.lifecycle.HasDefaultViewModelProviderFactory , androidx.lifecycle.LifecycleOwner , androidx.lifecycle.ViewModelStoreOwner , androidx.savedstate.SavedStateRegistryOwner

    
    public abstract class KatanaFragment
    extends Fragment
                        

    Base class for Fragments with Katana dependency injection.

    onInject must be implemented where component initialization and injection should take place. It is called after onActivityCreated. For a more detailed explanation see KatanaFragmentDelegate.

    If this base class cannot be used because the Fragment must extend from another class, KatanaFragmentDelegate can still be used individually.