I am trying to create a content provider for a search suggestion, and I need to return its results as a cursor (for the content request API). The fact is that my data is not stored in the SQLite database, but in an array. I need to create a cursor object that binds to an array, but I have not seen a single pattern that does this.
Does anyone know what is the easiest way to bind a cursor to an array? Thanks.
android android-contentprovider cursor
Omri
source share