Reputation: 165
I just found out that realm has a limit of 250 objects is there any way that i can make to exceed this limit
this is an image from stetho to check my database
Upvotes: 1
Views: 739
Reputation: 43364
This limit you experience is not the limit of Realm, but the default limit on Stetho. You can adjust this though.
Set the withLimit()
on the stetho config:
For example
Stetho.initialize(
Stetho.newInitializerBuilder(this)
.enableDumpapp(Stetho.defaultDumperPluginsProvider(this))
.enableWebKitInspector(RealmInspectorModulesProvider.builder(this)
.withLimit(1000)
.build())
.build());
It will now show rows 0-999
Upvotes: 5