2016年5月26日 星期四

Recyclerview inside ScrollView not scrolling smoothly

Method 1:

Reference:

http://stackoverflow.com/questions/33143485/recyclerview-inside-scrollview-not-scrolling-smoothly

Illustration:

RecyclerView view = (RecyclerView) findViewById(R.id.myrecycler);
view .setNestedScrollingEnabled(false);

Drawback:

OutOfMemory when there are many bitmap in the RecyclerView


Method 2:

Wrap all the component into the RecyclerView

沒有留言: