Search Tutorials:
About Me
|
Contact Me
Home
Tutorials
ASP.NET
Android
AJAX
JQuery
WCF
Visual C#
ADO.NET
.NET Framework
LINQ
Visual Basic
Java
HOW TOs
ASP.NET
Android
AJAX
JQuery
Visual C#
ADO.NET
.NET Framework
LINQ
Visual Basic
Java
Blog Posts
ASP.NET
JavaScript
Android
JQuery
Visual C#
.NET Framework
Visual Studio
ASP.NET MVC
Windows Phone 7
Free ebooks
Book Reviews
General
Personal
Presentations
Cheat Sheets
Web Services
Android Tutorials
Tweet
Share
|
Android
Customizing Android ListView Items with Custom ArrayAdapter
Posted by
Waqas Anwar
on
16 Aug 2011
- Views Count:
167163
For real-world commercial mobile applications, the default look and feel of the Android ListView is not very attractive. It only renders a simple String in every ListView row using the internal TextView control. For most applications, you want to create an interface that is more graphically rich and visually pleasing to the user. Luckily, ListView is very powerful control and with the help of custom item layouts, it can be customized to suit your needs easily. In this tutorial, I will show you how you can create custom ListView items with icons, custom header layout and how you can use custom ArrayAdapter to glue everything together. I will also show you some performance improvement tips you can use to optimize the memory usage of your ListView control.
Android
Overview of Android Linear Layout
Posted by
Waqas Anwar
on
14 Aug 2011
- Views Count:
4703
LinearLayout is one of the easiest and commonly used layouts available to Android developers to arrange different views on the device screen. LinearLayout arranges its child views in a single row (horizontally) or a single column (vertically). In this tutorial, I will show you how you can use LinearLayout and how the views can be arranged inside LinearLayout.
Android
Handling Android ListView onItemClick Event
Posted by
Waqas Anwar
on
14 Aug 2011
- Views Count:
50634
Android ListView control is designed to display a list of items to the user and the most common action users perform with the ListView is the item selection by just tapping any particular item in the ListView. ListView allows developers to handle user tapping by attaching the OnItemClickListener and overriding the onItemClick event. In most cases, when user click any item in the ListView, a new android activity opens that shows the details related to the selected item. To implement such scenario the knowledge of Android Intents and activity to activity communication is required. I will show you that in my future tutorials. In this tutorial, I will demonstrate you how you can handle the click events in ListView.
Android
Binding Android ListView with Custom Objects using ArrayAdapter
Posted by
Waqas Anwar
on
12 Aug 2011
- Views Count:
23235
In my previous tutorial
Binding Android ListView with String Array using ArrayAdapter
, I have shown you how you can bind the Android ListView control with an array of String objects. Although it was a very simple implementation, but it was useful for those who are just starting learning Android application development. As an Android developer, soon you will realize that showing simple Strings in the ListView is not what you exactly want in real-world Android Apps, and you will often find yourself dealing with collections of custom Java objects. In this tutorial, I have decided to show you how you can bind Android ListView with custom objects using ArrayAdapter.
Android
Binding Android ListView with String Array using ArrayAdapter
Posted by
Waqas Anwar
on
10 Aug 2011
- Views Count:
28449
This is my first tutorial on Android, so I have decided to start with a simple example. Android ListView control is one of the most popular controls available to Android developers, and It can be used in many different forms and can be customized to suit almost every possible application requirement. In this tutorial, I will demonstrate you how you can bind a simple array of Strings with ListView. In my future tutorials, I will show you more advance scenarios and layouts that can be achieved using ListView.
Find us on Facebook
Popular Posts
Binding Android ListView with Custom Objects using ArrayAdapter
August 12, 2011
Using Parameters with ObjectDataSource Control
June 24, 2009
Editing ASP.NET ListView Control using JQuery AJAX and Web Services
December 16, 2010
Editing Data using ASP.NET GridView Control
April 11, 2009
Insert Records using ObjectDataSource Control
June 27, 2009
Recent How TOs
How to Change IFrame Source using JQuery
November 14, 2012
How to Set Files as Read Only in .NET
August 29, 2012
How to get Domain Controllers Information in .NET
August 29, 2012
How to Check Validity of IP Address in .NET
August 29, 2012
How to Ping an IP Address in .NET
August 29, 2012
How to Create Conditional method
August 29, 2012
How to Create Breakpoint programmically
August 29, 2012
Recent Blog Posts
Add Conversations to Any Site with Moot Forums
May 20, 2013
Create Free Responsive Portfolio Websites with Dunked
May 16, 2013
Ghost: A Revolutionary Open Source Blogging Platform
May 16, 2013
A Fast & Fully Featured Auto-Complete Library
April 27, 2013
Paragraph, Word & Character Counting with Countable.js
April 27, 2013
Tags
asp.net
.net framework
ajax
android
visual basic
java
visual c#
linq
wcf
jquery
ado.net