Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. 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