Create a cursor to specify an array

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.

+6
android android-contentprovider cursor
source share
1 answer
+9
source share

All Articles