Sunday, February 12, 2012

[android-developers] Re: First, prevoius, next, and last buttons

You need a View.OnClickListener that queries the database depending on the Button it's attached to.
The SQL part is pretty obvious. Once you have the record, you update the interface, and this really depends on the kind of record and the view that display it. For example if it's a TextView you can simpy change the text. If you want you can use a ViewSwitcher to add nice animation.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment