Skip to content

Instantly share code, notes, and snippets.

@aldakur
Forked from gunhansancar/MainApplication.java
Created June 20, 2016 08:27
Show Gist options
  • Save aldakur/ecffe7818640ca006861d6539c66f46c to your computer and use it in GitHub Desktop.
Save aldakur/ecffe7818640ca006861d6539c66f46c to your computer and use it in GitHub Desktop.
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