toTypedArray
を使うことでジェネリクス付きのArray
に変換することが出来ます。
val results = realm.where(Article::class.java).findAll()
var articles: Array<Article>?
articles = results.toTypedArray()
Go to list of users who liked
More than 5 years have passed since last update.
toTypedArray
を使うことでジェネリクス付きのArray
に変換することが出来ます。
val results = realm.where(Article::class.java).findAll()
var articles: Array<Article>?
articles = results.toTypedArray()
Register as a new user and use Qiita more conveniently
Go to list of users who liked