getChildAt(whatever).invalidate()

On Thu, Aug 20, 2009 at 12:41 PM, alkar<[email protected]> wrote:
>
> Hmm, I suspected that :)
> Good to know for sure. Any ideas on the topic?
>
> On Aug 20, 10:33 pm, Romain Guy <[email protected]> wrote:
>> invalidateViews() does not just redraw, it relayouts and flushes the
>> cache of Views. Do not use this unless you have a very good reason to
>> do so.
>>
>>
>>
>> On Thu, Aug 20, 2009 at 11:22 AM, alkar<[email protected]> wrote:
>>
>> > I have a custom ListView and I want to redraw a View inside each row
>> > under some circumstances. How would I do that in the ListActivity?
>>
>> > I can use:
>> >                ListView l = (ListView) findViewById(android.R.id.list);
>> >                l.invalidateViews();
>>
>> > But that seems a waste, redrawing the whole listview.
>>
>> > Any ideas?
>>
>> > --
>> > alkar
>>
>> --
>> Romain Guy
>> Android framework engineer
>> [email protected]
>>
>> Note: please don't send private questions to me, as I don't have time
>> to provide private support.  All such questions should be posted on
>> public forums, where I and others can see and answer them
> >
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

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

Reply via email to