Tuesday, June 14, 2016

Custom Data Layouts with Your Own Android ArrayAdapter

Android provides a series of different layouts to suit your apps needs. One of the quickest and easiest ways to display information to users is via the ListView component. This component creates a simple scrollable region that can display unique sets of information. The great thing about ListViews is their customizability, giving you the power to create your own data layouts. For example, to display an image on the left and a title on the right for each entry. This is possible by creating and using custom ArrayAdapters.

In this tutorial you're going to learn how to take a ListView and create a customized layout using an extended ArrayAdapter. Once you have these topics covered you will be able to create awesome looking scrollable lists of information.

Continue reading %Custom Data Layouts with Your Own Android ArrayAdapter%


by Simon Codrington via SitePoint

No comments:

Post a Comment