Created
December 23, 2017 14:35
-
-
Save mrabelwahed/25fa20a1e2e8644eb9d526e29eb3b958 to your computer and use it in GitHub Desktop.
this is My App class for Android Application
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
package com.ramadan_apps.rxjavawithrealmcache; | |
import android.app.Application; | |
import io.realm.Realm; | |
/** | |
* Created by Mahmoud Ramadan on 12/22/17. | |
*/ | |
public class MyApp extends Application { | |
@Override | |
public void onCreate() { | |
super.onCreate(); | |
Realm.init(this); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment