android - ORMLite performance: ArrayAdapter vs CursorAdapter vs a custom adapter -


i have relatively small h2 database. expecting no more 100 entries , feel highly on top.

i have list view controls , use arrayadapter call queryall() populate data. works can modify data in array in memory when button pressed , write result db without having reload it. initial load surprisingly slow

what wonder whether should rather use cursoradapter, since seems more fitting problem or write custom adapter make use of dao iterator.

will there performance improvement using cursor or custom adapter? in mind feels custom adapter should give best performance.

its better use custom adapter content provider.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -