Android Proxy Cursor
Posted
by Alxandr
on Stack Overflow
See other posts from Stack Overflow
or by Alxandr
Published on 2010-06-08T23:55:00Z
Indexed on
2010/06/09
1:12 UTC
Read the original article
Hit count: 265
I have a database with which I wish to expose data with a ContentProvider. However, it is important that all the colums are not exposed, and also they should be renamed. Is there any good way of doing this? I was thinking maybe some kind of proxy-cursor which takes a cursor and translates its columns to the desired ones, and calls to close and the like would just be replayed to the original cursor. Does something like this exist, or would it be hard to make?
© Stack Overflow or respective owner