Hello I have a view containing a ListView and a keybord

By default the Keyboard is on visibility status = to GONE.

At one moment I want to show the keyboard to modify a value selected
in the list.

So I set keybord visible, and a set the selected element in top of the
shown list.

  theKeyboard.setVisibility(View.VISIBLE);
  theListView.setSelectionFromTop(position, 0);

But the refresh of the list view is done after the setSelection with
the old values for the item in top position.

How I can force to paint the new layout before to launch the
setSelection?

--~--~---------~--~----~------------~-------~--~----~
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