Class ViewYoutubeFragment

  • All Implemented Interfaces:
    android.content.ComponentCallbacks, android.view.View.OnClickListener, android.view.View.OnCreateContextMenuListener, androidx.lifecycle.LifecycleOwner, androidx.lifecycle.ViewModelStoreOwner, androidx.savedstate.SavedStateRegistryOwner, ChallengeResponseView, ViewContentView, AnalyticsManager.AnalyticsScreen, MvpView

    public class ViewYoutubeFragment
    extends ViewContentBaseFragment
    The response screen for View Youtube Challenge Can receive the following intent extras:
    • CHALLENGE_YOUTUBE_FULLSCREEN - the flag for requesting YouTube orientation to landscape
    • Field Detail

      • CHALLENGE_YOUTUBE_FULLSCREEN

        public static java.lang.String CHALLENGE_YOUTUBE_FULLSCREEN
    • Constructor Detail

      • ViewYoutubeFragment

        public ViewYoutubeFragment()
    • Method Detail

      • getContentLayoutId

        protected int getContentLayoutId()
        Description copied from class: MvpFragmentView
        Provide the Content Layout ID which is of a Layout Resource Reference of Android
        Specified by:
        getContentLayoutId in class MvpFragmentView
        Returns:
        id of the content layout
      • loadContent

        public void loadContent​(java.lang.String url)
        Description copied from interface: ViewContentView
        Notifies the view to load the content
        Parameters:
        url - content url
      • onSaveInstanceState

        public void onSaveInstanceState​(@NonNull
                                        android.os.Bundle outState)
        Overrides:
        onSaveInstanceState in class androidx.fragment.app.Fragment