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.
您可以在基本适配器的getCount方法中将其设置为某个值,例如20。然后在前4个项目的getView方法中,设置这些项目的布局...在其他项目中,将布局设置为空。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.