阅读背景:

如何随机播放RealmResults对象的内容

来源:互联网 

I have a RealmResults object which holds output of a .where.findAll() query. I am showing contents of this object in a RecyclerView, but since the contents of the RealmResults object are static, it shows same set of records evertime the RecyclerView is opened. I want to shuffle (randomize) the contents of RealmResults so that I can show different values that are in the RealmResults in my RecyclerView. Please suggest some possible ways in which I can perform the same.I have a RealmResults object which holds output




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: