Skip to main content
android gridview arraylist list array

How to bind Android Gridview from ArrayAdapter List

How to Display data in Android GridView using ArrayAdapter? Let’s see. In this post we will see how we can bind our Android Gridview using ArrayAdapter and List<String>. The example is pretty simple and straight-forward. Bind Android Gridview from ArrayAdapter: Edit your Android activity_main.xml: activity_main.xml: <?xml version=”1.0″ encoding=”utf-8″?> <LinearLayout xmlns:android=”” android:layout_width=”match_parent” android:layout_height=”match_parent” android:background=”#d4dafc” android:orientation=”vertical”> <GridView […]

Read More

Android How to Scroll ListView Horizontally and Vertically

In this post let’s see how we can scroll Android ListView both Horizontally and Vertically. For making Android Listview Horizontal scroll possible we can use “HorizontalScrollView”. Let’s see how we can implement HorizontalScrollView to make our Android Listview scroll in both directions i.e. Horizontally as well as Vertically.  Android How to Scroll ListView Horizontally […]

Read More