Class LifecycleUtil

  • All Implemented Interfaces:
    Component

    @Emits(events={"seekTo","activityCreated","activityDestroyed","activityPaused","activityRestarted","activityResumed","activitySaveInstanceState","activityStarted","activityStopped","configurationChanged","fragmentActivityCreated","fragmentCreatedView","fragmentDestroyed","fragmentDestroyedView","fragmentDetached","fragmentPaused","fragmentResumed","fragmentSaveInstanceState","fragmentStarted","fragmentStopped","fragmentViewStateRestored"})
    @ListensFor(events={"activityDestroyed","fragmentDestroyedView"})
    public class LifecycleUtil
    extends AbstractComponent
    • Constructor Detail

      • LifecycleUtil

        public LifecycleUtil​(BaseVideoView baseVideoView)
    • Method Detail

      • onConfigurationChanged

        public void onConfigurationChanged​(android.content.res.Configuration configuration)
      • onActivityCreated

        public void onActivityCreated​(android.os.Bundle savedInstanceState)
      • onCreate

        public void onCreate​(android.os.Bundle savedInstanceState,
                             android.app.Activity activity)
      • onCreateView

        public void onCreateView​(android.os.Bundle savedInstanceState,
                                 java.lang.Object fragment)
      • activityOnStart

        public void activityOnStart()
      • fragmentOnStart

        public void fragmentOnStart()
      • activityOnPause

        public void activityOnPause()
      • fragmentOnPause

        public void fragmentOnPause()
      • activityOnResume

        public void activityOnResume()
      • fragmentOnResume

        public void fragmentOnResume()
      • onRestart

        public void onRestart()
      • activityOnDestroy

        @Deprecated
        public void activityOnDestroy()
        Deprecated.
      • onActivityDestroyed

        public void onActivityDestroyed​(android.app.Activity activity)
      • fragmentOnDestroy

        public void fragmentOnDestroy()
      • onDestroyView

        public void onDestroyView()
      • onDetach

        public void onDetach()
      • activityOnStop

        public void activityOnStop()
      • fragmentOnStop

        public void fragmentOnStop()
      • activityOnSaveInstanceState

        public void activityOnSaveInstanceState​(android.os.Bundle bundle)
      • fragmentOnSaveInstanceState

        public void fragmentOnSaveInstanceState​(android.os.Bundle bundle)
      • onViewStateRestored

        public void onViewStateRestored​(android.os.Bundle savedInstanceState)