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.helper; /* ww w . j a va 2s. co m*/ import android.content.Context; import com.fada21.android.hydralist.data.HydraListDataProvider; import com.fada21.android.hydralist.data.HydraListItem; /** * Base class for adapter helpers for library extension */ public abstract class HydraListAdapterHelper<T extends HydraListItem> { protected final Context context; public HydraListAdapterHelper(Context ctx) { context = ctx; } /** * Ensures if adapter is properly initialized and provides proper item for the list. */ public abstract void ensureCompliance(HydraListDataProvider<T> dataProvider) throws IllegalStateException; }