开发者

get cursor from array

开发者 https://www.devze.com 2023-01-07 07:33 出处:网络
Is it possib开发者_Go百科le to get an android cursor from an array (either ArrayList or StringaArray)?Loxley has one solution: create your own Cursor class, extending AbstractCursor, to wrap around yo

Is it possib开发者_Go百科le to get an android cursor from an array (either ArrayList or StringaArray)?


Loxley has one solution: create your own Cursor class, extending AbstractCursor, to wrap around your collection.

Another option to not create an ArrayList, but instead create a MatrixCursor.

0

精彩评论

暂无评论...
验证码 换一张
取 消