Contextual Action Bar with ListView

Multiple Selection Simplified …………



In this tutorial we’ll see how to use Contextual Action Bar with ActionBarSherlock and ListView in case when data items selected with long-click, and don’t have any UI components like checkbox to perform selection.

Contextual Action Bar (CAB) is an important mode of Action Bar and a very user friendly design pattern. It is recommended to use when you perform actions with selected data like plain text or data items from ListView or GridView components. Although it is available from Android 3.0 it is a good practice to use it in apps working on earlier API versions.

Implement CAB with ListView

If you’re using Android 3.0 or higher there is a detailed description of CAB setup on each selection method – whether contextual action should be performed on a single selected item or on a group of selected items.

If your app works on android version 2.x and higher the…

View original post 253 more words


About krishjlk

Trackbacks / Pingbacks

  1. Contextual Action Bar with ListView | Ragnarok Connection - July 16, 2014

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: