In my android application i have used flexbox-layout.
I am adding buttons dynamically into the flexbox.
I need to know how many rows are currently rendered (How many rows flexbox created to show the buttons)
This is my flexbox-layout:
<com.google.android.flexbox.FlexboxLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/filterActivity_tags_container"
app:flexWrap="wrap"
app:justifyContent="flex_end" />