android - Recyclerview grid layout manager that fills one column first -


i recyclerview layout manager works gridlayoutmanager 2 columns fills first column first before adds items 2nd column. or rather adds remaining items second column. suggestions?

there's no direct layout manager but, guess it's better, easier, more rational re-order list or whatever data structure filling adapter trying mess layout manager.

an example of how during bindview:

public void onbindviewholder (vh holder, int position) {     position = translateposition(position);     // carry on normal bind code } 

then create method translateposition simple math re-order stuff way want/need.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -