Sunday, 1 November 2015

Android Adapter

Android Adapter   Adapters are the link between a set of data and the AdapterView that displays the data. AdapterView: AdapterViews are ViewGroups that display child views given to it by an adapter.  An example of an AdapterView is a ListView.  Adapters also provide the child views that display the data in the AdapterView.  Adapters are responsible for supplying the data and creating the views representing each item.    Adapters...

List View

List View Listview is a view group that displays a list of scrollable items.  The list items are automatically inserted to the list using an Adapter that pulls content from a source such as an array or database query and converts each item result into a view that's placed into the list.    Example Coding: Activity_main.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:tools="http://schemas.android.com/tools"...