Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
package com.gunhansancar.android.example.application;
import android.app.Application;
import com.gunhansancar.android.sdk.helper.LocaleHelper;
/**
* When your application is launched this class is loaded before all of your activies.
* And the instance of this class will live through whole application lifecycle.
* <p/>
* Created by gunhansancar on 16/02/15.
*/
public class MainApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
LocaleHelper.onCreate(this, "en");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment