Reputation: 2886
Listview with empty cell, without adding blank object in Adapter (myAdapter.add("")). I don't want that type of solution. Is there any property or method which though we get this type of functionality.
Upvotes: 0
Views: 287
Reputation: 1884
You could set in the getCount method of the base adapter to some value, e.g 20. And then in the getView method in the first 4 items set the layout for those items...in the other items set a layout that is empty.
Upvotes: 1