Commit 275e427f authored by jyx's avatar jyx

代码优化

parent 94b36144
......@@ -127,6 +127,7 @@ class DramaApiDetailActivity : BaseActivity(), VideoEpisodeAdapter.OnEpisodeClic
drama = outerDrama
drama?.let {
if (isPlayNext) mVedioBean!!.seeIndex + 1
it.index = mVedioBean!!.seeIndex
mCurrentIndex = mVedioBean!!.seeIndex
mInitUnlockIndex = mVedioBean!!.unlockIndex
......
......@@ -101,7 +101,7 @@ public class RecommendVideoView extends RelativeLayout {
}
};
mRecyclerView.setLayoutManager(mLayoutManager);
mRecyclerView.setItemViewCacheSize(10);
// mRecyclerView.setItemViewCacheSize(10);
mRecyclerView.setHasFixedSize(true);
mRecyclerView.setDrawingCacheEnabled(true);
mRecyclerView.setDrawingCacheQuality(View.DRAWING_CACHE_QUALITY_LOW);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment