Open stefvardalos opened 8 years ago
This is late but might help someone with the same problem. This made FlowLayoutManager work perfectly with height="wrap_content" inside a scrollview:
FlowLayoutManager flowLayoutManager = new FlowLayoutManager(); flowLayoutManager.setAutoMeasureEnabled(true); flowLayoutManager.setAlignment(Alignment.LEFT); flowLayoutManager.setMeasurementCacheEnabled(false); recyclerView.setLayoutManager(flowLayoutManager);
Hi I cant seem to make it work when my RecycleView is inside a ScrollView no matter what. Am i doing something wrong or that is something this library cant do?
*found out that setting a fixed height on RecycleView it actually works, is any other way to make it work without a fixed height?