How to Implement MultiSelect DropDown in Android Studio | MultiSelectDropDown | Android Coding

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 44

  • @SLCODEGEN
    @SLCODEGEN 2 роки тому +5

    Thank you! I found some bug & fixed, When checkbox un-selected dayList.remove() remove the item of given index as argument.
    remove() method has two variants. Right ways of doing that is using remove(Object o) It Removes the first occurrence of the specified element from this list, if it is present. .
    To solve this issue we can pass Wrapper class value instead of primitive. e.g. dayList.remove(Integer.valueOf(which));

    • @AndroidCoding
      @AndroidCoding  2 роки тому +2

      Thanks for sharing!

    • @Ziscom18
      @Ziscom18 2 роки тому +4

      .remove(Integer.valueOf(i));

    • @aasifshaikh2927
      @aasifshaikh2927 2 роки тому +1

      Thank You So Much

    • @JAWADKHAN-po4vh
      @JAWADKHAN-po4vh 2 роки тому

      @@Ziscom18 @Android Coding, please pin this comment

    • @kartickmanna
      @kartickmanna Рік тому +1

      Thanks.. I was about to lose my mind ......!!!!

  • @manu-singh
    @manu-singh 3 роки тому +3

    Bro please also upload some projects tutorials

  • @ameyaaadhi1975
    @ameyaaadhi1975 2 роки тому

    Some Prblm.... Get values from data base...
    1.we r get data arraylist... Thar converted char[]
    2. Automatically unchecked box.. When agin click text view

  • @paragbharadia2895
    @paragbharadia2895 2 роки тому

    I had learned a lot through your videos!! thank you for uploading all of it in proper format..!! Just out of curiosity, in google photos we can select all checkbox & as we swipe after on long press click can we do that too???

  • @josselingubeda5227
    @josselingubeda5227 2 роки тому +1

    Muy buen tutorial...

  • @sholababalola6226
    @sholababalola6226 2 роки тому +1

    Thank you!

    • @AndroidCoding
      @AndroidCoding  2 роки тому

      You're welcome

    • @sholababalola6226
      @sholababalola6226 2 роки тому

      @@AndroidCoding After I implemented this tutorial, I tried to take it further by loading the Checkbox list item from database server but I've not been able to get it to work. I'll be grateful, if you can please lend a help on that. Thanks!

  • @tijilparmar1642
    @tijilparmar1642 3 роки тому +1

    Thank you

  • @briangomez8671
    @briangomez8671 3 роки тому +1

    Yo are the best brooo

  • @Jenis_Sanghani
    @Jenis_Sanghani 3 роки тому

    Thank you Very Much, I Appreciate it.

  • @mahimm2026
    @mahimm2026 3 роки тому

    By using this couldn't remove.. now am changed the source anyway thanks for the solution

  • @muhammadsalman9007
    @muhammadsalman9007 3 роки тому +2

    Error please help ; java.lang.IndexOutOfBoundsException: Index: 4, Size:
    Overall working good but when I unselecting the checkbox thean app crash.
    error occur line no. 155 and at line no. 155 is subjectList.remove(which).

  • @aasifshaikh2927
    @aasifshaikh2927 2 роки тому +1

    I can't unselect one checkbox from list, whenever I'm going to unselect checkbox app crashes and throw me on homepage..

  • @Userabs
    @Userabs 6 місяців тому

    Thanks, but if I do more than one MultiSelectDropDown in same page and there also a button so, the user after end from choice from all MultiSelectDropDown he clicks on the button and the selected item will appear. how can I do that?

  • @wynsalvez5694
    @wynsalvez5694 3 роки тому

    Can you add some sub items under that?

  • @khaerulfikri
    @khaerulfikri 2 роки тому

    Can i put ArrayList on builder.setMultiChoiceItems?

  • @aymandoukkali7789
    @aymandoukkali7789 3 роки тому +1

    like it

  • @niharprabhu3604
    @niharprabhu3604 3 роки тому

    Hi brother, do you have any blog for this.

  • @manu-singh
    @manu-singh 3 роки тому

    Nice

  • @whitecoder7119
    @whitecoder7119 3 роки тому

    Make a video about timer in recycerView

  • @androidprime8310
    @androidprime8310 3 роки тому

    Hi, hello and how are you I want to learn list view with copy text and the video very good and nice 👍🏻❤

  • @tulasireddy6557
    @tulasireddy6557 3 роки тому

    Bro please help me , I want to play videos in Exoplayer in recyclerview , please upload video on that bro....
    I want to play one video at a time which is visible ....

    • @WeirdStuffaaaa
      @WeirdStuffaaaa 3 роки тому +1

      just search on the internet bro . you can find anything

  • @kumarchhotu7026
    @kumarchhotu7026 3 роки тому

    toolbar hide and show ke upar video banawo bhai up scroll to toolbar hide aur down scroll to toolbar show

  • @mohamedredha9586
    @mohamedredha9586 2 роки тому

    how to collect the items selected ?

  • @adityarevankar6529
    @adityarevankar6529 3 роки тому

    This does not work in filter right

  • @sechidambaram
    @sechidambaram 3 роки тому

    Hey, where's the Github link ?

  • @sat_talk
    @sat_talk 3 роки тому

    Please please bro.. in Kotlin..

  • @seeapp8662
    @seeapp8662 2 роки тому +2

    Hello and thank you
    I found a problem
    if (b){
    daylist.add(i);
    Collections.sort(daylist);
    }else{
    daylist.remove(i);
    }
    It should be
    if (b){
    daylist.add(i);
    Collections.sort(daylist);
    }else{
    for (int j=0;j

    • @gabrielnoira3848
      @gabrielnoira3848 2 роки тому

      dude thanks, complete piece of the code
      @Override
      public void onClick(DialogInterface dialogInterface, int i, boolean b)
      {
      if (b) {
      dayList.add(i);
      Collections.sort(dayList);
      } else {
      for (int j = 0; j < dayList.size(); j++) {
      if (dayList.get(j) == i) {
      dayList.remove(j);
      }
      }
      }
      }
      });
      the rest comes builder.setPositive ...

  • @WeirdStuffaaaa
    @WeirdStuffaaaa 3 роки тому

    please explain the code while you are coding .. Please speak something .