@Override public void onResume() { super.onResume(); if (mWebView != null) { mWebView.onResume(); } if (getTracker() != null) { getTracker().setScreenName("ArticleView"); getTracker().setPage(mFeedItem.link()); } }
@Override public void onResume() { super.onResume(); mPlayer = ExoPlayer.Factory.newInstance(2, 1000, 5000); mPlayer.addListener(this); mPlayer.seekTo(mPlayerPosition); mMediaController.setMediaPlayer(new PlayerControl(mPlayer)); mMediaController.setEnabled(true); mCallback = new RendererBuilderCallback(); mBuilder.buildRenderers(mCallback); }