dimsuz
04/22/2020, 4:08 PMContourLayout
question: is there some advice on how to handle dynamic modification of the layout?
Use case: my layout has title + N buttons where button count and titles are received from server. So I create a layout with "constant" title, but buttons section can later change its View count.
This can be done by placing RecyclerView inside, but seems like a bit of overkill. Or should I just go with series of ViewGroup.removeView(x)
+ applyLayout()
whenever new buttons are received?