Questions tagged [multichoiceitems]

A multichoice list is a control where the user can select more than one item (which, typically show up as check boxes)

A multichoice list is a control where the user can select more than one item (which, typically show up as check boxes)

70 questions
0
votes
1 answer

How to select a MultipleChoice option based on text variable

I have a MultipleChoiceField and a variable my_choice = 'mystring' I want check the option relative to my_choice Here my html: ul id="id_layer_select">
  • 0
    votes
    1 answer

    I am showing the list of elements in Alert-box by using the setMultiChoiceItems, But when ever i am scrolling the checkbox are dismissed

    I have implemented the Alert dialogue with checkbox and item name, I am not using any custom adapter to show the list view.I am able to display the items with checked states successfully but my problem is when ever i scroll the alertbox some of…
    0
    votes
    2 answers

    Add check to a view on Android

    Hello friends a question like I can add the following view to a view inside a gridview. I am working on the selection of photos but I would like to be able to create a view Like the following, but I have no idea how to add the check in the…
    Devix
    • 432
    • 5
    • 16
    0
    votes
    1 answer

    Removing items from multiChoiceItems dialog interface not working

    I'm trying to use a dialog that shows an ArrayList using multiChoiceItems. I want to check what items I want to remove, click a button to remove/ close the dialog and have the items be removed next time I open the dialog. When I debug the code…
    lhbortho
    • 167
    • 2
    • 16
    0
    votes
    1 answer

    onClickListener in getView() method messes up MultiChoiceModeListener()

    So I have a GridView that implements the multiple choice mode listener , and every time the user taps the item it should change it's background image ; and when he/she long taps , the multi choice toolbar should appear. However since I have on click…
    mariuss
    • 1,177
    • 2
    • 14
    • 30
    0
    votes
    1 answer

    Multi choice DialogFragment checked items count

    I create multi choice dialog using AlertDialog.Buiilder mDialog = new AlertDialog.Builder(getActivity()).setIconAttribute(mIcon).setTitle(mTitle) .setPositiveButton(mPositiveButton, new OnClickListener() { …
    Vahan
    • 3,016
    • 3
    • 27
    • 43
    0
    votes
    2 answers

    How do I prevent clicking elements in a ListView row when in MutliChoiceMode in Android

    I have a Listview set up with a custom adapter. Each of the ListView's rows has a button and a seekbar that the user can interact with. I have also implemented a MultiChoiceModeListener to handle long clicking a ListView row in order to allow the…
    Highway62
    • 800
    • 1
    • 10
    • 25
    0
    votes
    1 answer

    multichose in phonebook android

    I have one question. In my application I open the phonebook and pull out the name and number of the person you have chosen. Here is the code that I do: public void showContactsChooser(){ Intent intent = new Intent(Intent.ACTION_PICK,…
    metalink
    • 594
    • 2
    • 8
    • 21
    0
    votes
    2 answers

    Get the position of Selected Item in Action Mode

    When i long press any item in the list view then Contextual action bar showed. Now what i want that when i press the delete button after selecting items then the selected items get deleted but I am unable to get the position of selected items. My…
    Arslan Ali
    • 371
    • 5
    • 20
    0
    votes
    2 answers

    First long click is ignored in listview

    I'm trying to build a listview that, when the user long clicks an item, shows the Contextual Action Bar (CAB) and lets the user select multiple items. The only issue I'm running into is that the first long click on an item is ignored and only from…
    Anubis
    • 1,162
    • 4
    • 14
    • 31
    0
    votes
    1 answer

    Javascript to Select Multiple options with restrictions

    I need a form with multiple steps where the first step restricts options in the successive steps. So below is an example of use: User selects from 4 global options If user selects option 1 Then the user can only select 8 options (no more no…
    0
    votes
    0 answers

    Android all menu items is not showing always in multi choice mode

    In my application there was a listview, and multi choice mode is enabled for this listview. When user long clicks the list item i am inflating new menu using setMultiChoiceModeListener. And in my menu there was 3 items are include but only 2 of them…
    0
    votes
    2 answers

    Using multi choice mode in grid view

    I am creating app for viewing images.So, I decided to implement multi choice deleting for pictures in grid view.I am using setMultiChoiceModeListener method.Everything woks fine, but I have one problem...I can't close contextual menu in …
    nullbyte
    • 1,178
    • 8
    • 16
    0
    votes
    1 answer

    json value in multiChoiceItem

    I have json array I want to show just value in a a dailog. Ho can I achieve this? This is the code i wrote public JsonArray arrayListToJson(List selectedItems) { JsonObject jsonObject ; JsonArray jsonArray = new JsonArray(); …
    Dilip
    • 66
    • 10
    0
    votes
    2 answers

    activatedBackgoundIndicator lost due to reload

    I use a GridView and Universal Image Loader (UIL) to display a couple images. I've also implemented the example for Selection given in http://developer.android.com/guide/topics/ui/menus.html#CAB (Enabling batch contextual actions in a ListView or…
    m02ph3u5
    • 3,022
    • 7
    • 38
    • 51