Hi Jason,

If you have to change view which is already displayed and you have
data in your adapter which you have to display then, On List item
click you will get the view of clicked
position adapter view and you can change what ever you want in that
adapter view.

Thanks & Regards,
Deepchand Singh


On Mar 26, 2:29 am, Jason Tian <tianji...@gmail.com> wrote:
> Hi, Justin
>
> May I ask why we shouldn't modify the view after it has been
> displayed?
> Cause I've been doing this a lot in my app...
>
> Thanks,
> Jason
>
> On Mar 26, 9:12 am, Justin Anderson <magouyaw...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Modify the data in the adapter and then call notifyDataSetChanged().  Once
> > the view has been created and displayed on the screen you should NEVER
> > modify it directly.
>
> > Thanks,
> > Justin Anderson
> > MagouyaWare Developerhttp://sites.google.com/site/magouyaware
>
> > On Sat, Mar 24, 2012 at 5:44 AM, Akram <akram0...@gmail.com> wrote:
> > > This listview has an adapter that is linked to a layout for each row
> > > (itemrow.xml)
>
> > > The price value (500-250 300) is a textview
>
> > > How can we access to it, to modify it, once clicked on a button ?
>
> > > Thanks you for the help.
>
> > > lllllllllllllllllllllllllllllllll
>
> > > Android
>
> > > Price: 500
>
> > > lllllllllllllllllllllllllllllllll
>
> > > Php
>
> > > Price: 250
>
> > > lllllllllllllllllllllllllllllllll
>
> > > C++
>
> > > Price: 300
>
> > > lllllllllllllllllllllllllllllllll
>
> > > --
> > > 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