Report low memory warnings
Extend application class from a custom class provided by the SDK to report low memory warnings when they occur.
Extend your Application class from ObservableApplication. This will enable SDK to report any level memory issues that may arise in the application.
Application Class:
- Java
- Kotlin
public class BlogApplication extends ObservableApplication {
@Override
public void onCreate() {
super.onCreate();
Fn.init(this);
}
}
class BlogApp: ObservableApplication() {
override fun onCreate() {
super.onCreate()
}
}