使い方に違いはありますか
getApplicationContext().getSharedPreferences()vs this.getSharedPreferences()SharedPreference オブジェクトを作成します。注:thisここでのアクティビティを意味します
はクラスgetSharedPreferences()から継承され、とは両方とも のサブクラスであることを認識しています。ContextApplicationActivityContext
上記の両方とは異なりToasts、ProgressDialogues使用することになっている場所のみで機能は同じですActivity Context。