DynamicGrid alternatives and similar packages
Based on the "GridView Widget" category.
Alternatively, view DynamicGrid alternatives based on common mentions on social networks and blogs.
-
AndroidStaggeredGrid
An Android staggered grid view which supports multiple columns with rows of varying sizes. -
StaggeredGridView
A modified version of Android's experimental StaggeredGridView. Includes own OnItemClickListener and OnItemLongClickListener, selector, and fixed position restore. -
AsymmetricGridView
Android ListView that mimics a GridView with asymmetric items. Supports items with row span and column span -
android-GridViewWithHeaderAndFooter
A GridView which can addHeaderView and addFooterView -
two-way-gridview
An Android GridView that can be configured to scroll horizontally or vertically -
DraggableGridView
A drag-and-drop scrolling grid view for Android -
AndroidCoolDragAndDropGridView
An example of a gridview with various column span items and drag and drop support like Google keep has -
PagingGridView
A Paging GridView with the same behavior as PagingListView.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of DynamicGrid or a related project?
README
DynamicGrid
Drag and drop GridView for Android.
Depricated
It's much better to use solutions based on recycler view. For example https://github.com/h6ah4i/android-advancedrecyclerview
Demo
Requirements
Rearranging items require api 8 (Froyo). All grid item animations require api 11 (Honeycomb).
Usage
All the same as for normal GridView. Adapter must extends AbstractDynamicGridAdapter or BaseDynamicGridAdapter
gridView = (DynamicGridView) findViewById(R.id.dynamic_grid);
// pass to adapter context, list of items and number of columns count
gridView.setAdapter(new MyDynamicGridAdapter(this, itemsList, 3));
To start Drag'n'drop mode:
gridView.startEditMode();
Or from onItemClik() and onItemLongClick()
gridView.startEditMode(position);
To stop:
gridView.stopEditMode();
Adding drop listener:
gridView.setOnDropListener(new DynamicGridView.OnDropListener(){
@Override
public void onActionDrop(){
// stop edit mode immediately after drop item
gridView.stopEditMode();
}
});
You can find more detailed usage example here.
Credits
DynamicGridView based on Daniel Olshansky ListView cell dragging and rearranging example.