You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
532 B
25 lines
532 B
package net.pokeranalytics.android.util
|
|
|
|
import android.os.Bundle
|
|
import androidx.fragment.app.Fragment
|
|
import io.realm.Realm
|
|
|
|
open class PokerAnalyticsFragment: Fragment() {
|
|
|
|
override fun onCreate(savedInstanceState: Bundle?) {
|
|
super.onCreate(savedInstanceState)
|
|
}
|
|
|
|
override fun onDestroyView() {
|
|
super.onDestroyView()
|
|
}
|
|
|
|
/**
|
|
* Get the realm instance
|
|
*/
|
|
fun getRealm(): Realm {
|
|
val pokerAnalyticsActivity = activity as PokerAnalyticsActivity
|
|
return pokerAnalyticsActivity.getRealm()
|
|
}
|
|
|
|
} |