Back to project page HydraListAndroid.
The source code is released under:
Apache License
If you think the Android project HydraListAndroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.fada21.android.hydralist.data; //from w w w.j a va2s . c o m /** * Interface for data set item providers. It't very important to ensure, that ids are unique. It's needed by stable ids adapter. * * @param <T> list item type */ public interface HydraListDataProvider<T extends HydraListItem> { boolean empty(); int size(); Class<T> getHydraListItemType(); T get(int index); T getById(long id); }