I found the answer.

http://stackoverflow.com/questions/5067641/how-uncheck-items-in-alertdialog-setmultichoiceitems

Actually the boolean array that is passed initially also has to be
modified.

Thanks!

On Apr 13, 10:21 pm, Nasif Noorudeen <nas...@gmail.com> wrote:
> you ahve to use onch
> eckchanedListener
>
>
>
> On Wed, Apr 13, 2011 at 10:31 PM, Akshay Goel <xpectro...@gmail.com> wrote:
> > OnCreate of what? The dialog? I want to uncheck the item as soon as
> > the user checks All, without dismissing the dialog.
>
> > Thanks,
> > Akshay
>
> > On Apr 13, 5:44 pm, harsh chandel <harshdchan...@gmail.com> wrote:
> > > write the setitemchecked method withinin oncreate method.
>
> > > On Apr 13, 9:56 am, Akshay Goel <xpectro...@gmail.com> wrote:
>
> > > > But I am manipulating the data by calling setItemChecked(). When I
> > > > said updating the UI, I meant updating data that results in refreshing/
> > > > changing the UI.
>
> > > > Thanks,
> > > > Akshay
>
> > > > On Apr 12, 10:32 pm, lbendlin <l...@bendlin.us> wrote:>
> > notifyDataSetChange sounds like the best solution, but for that you need to
> > > > > actually change the data set, not the UI. So you would need to
> > manipulate
> > > > > the "checked" flag in the data.
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to