How to check empty in realmResult from kotlin-android?

前端 未结 0 1159
别那么骄傲
别那么骄傲 2020-12-22 14:45

I used

if(realmResults.isEmpty()) {action...}

or

if(realmResults.isNullOrEmpty()) {action...]

there\'s false

相关标签:
回答
  • 消灭零回复
提交回复
热议问题