POJO's versus Cursors in Android

后端 未结 4 1434
甜味超标
甜味超标 2020-12-13 02:43

I usually tend to define the model layer of my apps using POJO\'s, such as Article, Comment, etc.

I was about to implement an AlphabetIndexer in the adapter of one o

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-13 03:16

    I have run into similar issues. Right now, I am tending away from POJOs. Note, though, that you can create your own Cursor interface for a collection of POJOs, if you so choose.

提交回复
热议问题