Android ListView that mimics a GridView with asymmetric items. Supports items with row span and column span
1.84k
stars
431
forks
source link
Can someone give a simple snippet code with a custom adapter, document seems to be so complex with little to no explanation #79
Open
gregcabrera422 opened 6 years ago
Model Class
`public class ImageModel implements AsymmetricItem { private int columnSpan; private int rowSpan; private int position; private String img;
public ImageModel(String img) { this(1, 1, 0); this.img = img; }
My Adapter class
`public class DefaultListAdapter extends BaseAdapter {
`