This file contains hidden or 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.gunhansancar.android.example.activity; | |
import android.content.res.Resources; | |
import android.support.v7.app.AppCompatActivity; | |
import android.widget.TextView; | |
import com.gunhansancar.android.example.R; | |
import com.gunhansancar.android.sdk.helper.LocaleHelper; | |
import butterknife.Bind; |
This file contains hidden or 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.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/> |
This file contains hidden or 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.gunhansancar.android.sdk.helper; | |
import android.content.Context; | |
import android.content.SharedPreferences; | |
import android.content.res.Configuration; | |
import android.content.res.Resources; | |
import android.preference.PreferenceManager; | |
import java.util.Locale; |