I want to implement a Tag Cloud with Android Chips.
But i think the best way to do this is with a RecycleView and a custom LayoutManager. I search for a LayoutManager which layout its children like a FlowLayout but found nothing.
Has someone found this kind of behavior or a good and simple tutorial about custom layout managers? I found no simple or simple but incomplete articles.
.
I found a library that does this.
You have add this line to your Gradle depencencies:
compile 'com.xiaofeng.android:flowlayoutmanager:1.2.3.2'
and set your recycler view layout manager with it:
recyclerView.setLayoutManager(new FlowLayoutManager());
You have additional details on how to configure it on Github: https://github.com/xiaofeng-han/AndroidLibs/tree/master/flowlayoutmanager
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With