On Aug 22, 12:36 pm, Rafael <[email protected]> wrote: > The problem is, the Draw inst immediately, so I cant get the position. > I tryed invalidate and postinvalidate but inst working. > > What should I do?
After making the table row visible, try using View.post to queue up a runnable that will scroll the view to the visible row. Marking a view as visible doesn't take effect immediately -- the the layout will have to make a pass through the table again to reposition everything after the change, and only then will the new positions of all your rows be known so you can scroll to the correct offset. You may have to delay the scroll even later -- I'm not certain. Doug -- 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

