Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8628919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:40:25+00:00 2026-06-12T08:40:25+00:00

When setting the selection mode of my ListView to multiple, I came across this

  • 0

When setting the selection mode of my ListView to multiple, I came across this constant introduced in Android API level 11: CHOICE_MODE_MULTIPLE_MODAL. The JavaDoc didn’t help me out much:

public static final int CHOICE_MODE_MULTIPLE_MODAL

The list allows multiple choices in a modal selection mode.

What is a modal selection mode? Can’t find it nowheres.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T08:40:26+00:00Added an answer on June 12, 2026 at 8:40 am

    This is used to bring up an action mode (a.k.a., contextual action bar) when using action bars. You will see it in apps like Gmail: as you start checking items in the list, the action bar changes from generic activity-level actions to operations to be performed on the list (e.g., change labels, trash).

    Like CHOICE_MODE_MULTIPLE, you need your ListView to be populated by Checkable items. Then, though, once one or more items are checked, Android will automatically pop up your chosen action mode, which you can configure with your own actions.

    Here is a sample project that demonstrates this: https://github.com/commonsguy/cw-omnibus/tree/master/ActionMode/ActionModeMC

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having problems with setting multiple choice selection in ListView. My ListView has contacts'
table.changeSelection(table.getRowCount()-1, 3, false, false); after setting the cell selection like above, the cell is
So this is pretty mystifying. I have a databound ListBox (or ListView , it
I have a multiple selection SELECT field which I don't want the end user
For a ListBox (With Selection mode set to One), I wish to track whether
I have a ListView control that is in FullRowSelect mode, MultiSelect off and using
I need to read a setting from the appsettings section (defined in app.config) in
Other then setting UIGestureRecognizers in a Controller: UISwipeGestureRecognizer *swipeGesture = [[UISwipeGestureRecognizer alloc] initWithTarget:v action:@selector(handleSwipe:)];
I'm creating aggregations and setting a filter in the advanced section. eg: x.category ==
Setting up a project structure; I am thinking is it better to have somewhat

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.