Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

DefaultProgressFragment

class DefaultProgressFragment : AbstractProgressFragment
kotlin.Any
   ↳ androidx.fragment.app.Fragment
   ↳ androidx.navigation.dynamicfeatures.fragment.ui.AbstractProgressFragment
   ↳ androidx.navigation.dynamicfeatures.fragment.ui.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

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

Public methods
Unit

Unit
onViewCreated(view: View, savedInstanceState: Bundle?)

Protected methods
Unit

Called when the user decided to cancel installation.

Unit
onFailed(errorCode: Int)

Called when the installation has failed due to non-user issues.

Unit
onProgress(status: Int, bytesDownloaded: Long, bytesTotal: Long)

Called when there was a progress update for an active module download.

Inherited functions