As described in Google's documentation (http://developer.android.com/guide/topics/ui/layout/listview.html), a ListView
element is a view group that displays a list of items and enables scrolling if the items do not fit the size of the ListView
element. In this section, we will build a simple ListView
element—introducing adapters briefly (we will cover them in more depth in the next section) but we will not spend much time on the ListView
element, as we will favor the use of the newer RecyclerView
element instead in later sections. Using RecyclerView
over ListView
is highly recommended as it is more flexible and does not leave performance improvements optional. ListActivity
is like a normal activity, but with only one single element on it: ListView
.
Learning Android Application Development
By :
Learning Android Application Development
By:
Overview of this book
The mobile app market is huge. But where do you start? And how you can deliver something that takes Google Play by storm? This guide is the perfect route into Android app development – while it’s easy for new apps to sink without a trace, we’ll give you the best chance of success with practical and actionable guidance that will unlock your creativity and help you put the principles of Android development into practice.
From the fundamentals and getting your project started to publishing your app to a huge market of potential customers, follow this guide to become a confident, creative and reliable mobile developer. Get to grips with new components in Android 7 such as RecyclerView, and find out how to take advantage of automated testing, and, of course, much, much more.
What are you waiting for? There’s never been a better time – or a better way – to get into Android app development.
Table of Contents (16 chapters)
Learning Android Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Getting Started with Android Development
Activities and Fragments - The Backbone of Your App
Working with Views – Interacting with Your App
Lists and Adapters
Remote Data
Image Management
Permanent Data
Testing Your Application
Publishing Your Application
Monetization – Make Money with Your App
Customer Reviews