DefaultProgressFragment

public final class DefaultProgressFragment extends Fragment, AbstractProgressFragment implements LifecycleOwner, ViewModelStoreOwner, HasDefaultViewModelProviderFactory, LifecycleOwner, SavedStateRegistryOwner, ActivityResultCaller

Object
   ↳ Fragment
     ↳ AbstractProgressFragment
       ↳ DefaultProgressFragment

The default androidx.fragment.app.Fragment to display during installation progress.

This Fragment provides a default UI and handles split install state changes so you don't have to deal with this.

To create a custom progress fragment, extend AbstractProgressFragment.

Summary

Public constructors

Public methods

void

Called when the view previously created by onCreateView has been detached from the fragment.

void
onViewCreated(View view, Bundle savedInstanceState)

Inherited methods

From class AbstractProgressFragment
void
onCreate(Bundle savedInstanceState)

Called to do initial creation of a fragment.

void

Called to ask the fragment to save its current dynamic state, so it can later be reconstructed in a new instance if its process is restarted.

From class Fragment