[android-developers] Re: How to redraw only a part of my custom View

2009-08-14 Thread Mark Murphy
Sena wrote: > Will a view resize itself if I invalidate it? I have a ScrollView that > doesn't take the ListView size into account after its been populated. You are probably better served not putting a ListView in a ScrollView, if possible. -- Mark Murphy (a Commons Guy) http://commonsware.com

[android-developers] Re: How to redraw only a part of my custom View

2009-08-14 Thread Sena
Hi, Will a view resize itself if I invalidate it? I have a ScrollView that doesn't take the ListView size into account after its been populated. Thanks S On Aug 14, 11:06 pm, Romain Guy wrote: > invalidate(Rect) or invalidate(int left, int top, int right, int bottom) > > On Fri, Aug 14, 2009 a

[android-developers] Re: How to redraw only a part of my custom View

2009-08-14 Thread Romain Guy
invalidate(Rect) or invalidate(int left, int top, int right, int bottom) On Fri, Aug 14, 2009 at 11:43 AM, fhucho wrote: > > I have a custom view, that overrides the onDraw() method. For better > performance I want to redraw only a small part of Canvas in onDraw(), > how can I do that? > > > -