Back to project page android-gskbyte-utils.
The source code is released under:
GNU Lesser General Public License
If you think the Android project android-gskbyte-utils 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 org.gskbyte.ui.iconifiedMainMenuList; /*from w w w. j a v a 2 s . co m*/ import java.util.List; import org.gskbyte.ui.ListAdapter; import android.content.Context; import android.support.v4.app.Fragment; import android.util.SparseArray; public class MainMenuAdapter extends ListAdapter<MenuEntry, EntryView> { protected final SparseArray<Fragment> fragments = new SparseArray<Fragment>(); public MainMenuAdapter(Context context, List<MenuEntry> models) { super(context, models); } @Override protected void configureView(EntryView view, MenuEntry entry) { view.set(entry); } @Override protected EntryView initializeView() { return new EntryView(context, null); } }