Intercepting Simplecursoradapter Action
I am writing an application which is using a SimpleCursorAdapter to display a list of items from my SQLite Database. The application is a list application, which allows the user to
Solution 1:
Is this possible without writing my own CursorAdapter?
You can attach a ViewBinder
using setViewBinder()
, and implement a ViewBinder
to format your TextViews
as you wish.
If not how can I go about writing my own CursorAdapter?
Step #1: Create a subclass of SimpleCursorAdapter
Step #2: Override setViewText()
and apply your formatting at that point, or override bindView()
and fill in all of the row widgets yourself
Post a Comment for "Intercepting Simplecursoradapter Action"