Created
November 1, 2016 04:57
-
-
Save minibugdev/9f7032e73355cb5db23cce45dc657485 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private fun findInRealm(realm: Realm, name: String): WeatherRealm? { | |
return realm.where(WeatherRealm::class.java) | |
.equalTo(FIELD_CITY_NAME, name) | |
.findFirst() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment