Playback starts YouTube’s embedded player (privacy-enhanced mode).
Android tutorial (2018) - 83 - Preference API- Listening for Preference changes
ChannelPRABEESH R KDescription from the creator
There are several situations in which you might want to be notified when user changes a preference in your app settings page.
In order to receive the user settings change event you have to implement the SharedPreference.OnSharedPreferenceChangeListener interface.
You must register for this interface from the onResume method of your PreferenceFragment or PreferenceActivity by calling the method registerOnSharedPreferenceChangeListener().
Also you must unregister from the listener from the onPause method of your PreferenceFragment or PreferenceActivity by calling the method unregisterOnSharedPreferenceChangeListener().
This video teach you how to handle the settings change in your app settings page, also you can learn about how to update the preference summary when user made a change .
Like my Facebook page : facebook.com/codeglympse
Subscribe My YouTube channel : youtube.com/ticoontechnologies
In order to receive the user settings change event you have to implement the SharedPreference.OnSharedPreferenceChangeListener interface.
You must register for this interface from the onResume method of your PreferenceFragment or PreferenceActivity by calling the method registerOnSharedPreferenceChangeListener().
Also you must unregister from the listener from the onPause method of your PreferenceFragment or PreferenceActivity by calling the method unregisterOnSharedPreferenceChangeListener().
This video teach you how to handle the settings change in your app settings page, also you can learn about how to update the preference summary when user made a change .
Like my Facebook page : facebook.com/codeglympse
Subscribe My YouTube channel : youtube.com/ticoontechnologies
About this tutorial
PRABEESH R K published this 11:01 video tutorial on November 10, 2018. It has been watched 17,555 times on YouTube.
- Channel
- PRABEESH R K
- Category
- Education
- Duration
- 11:01
- Published
- November 10, 2018
- Views
- 17,555
- Likes
- 157
Tags
Share
This tutorial in other languages
- FRtutoriel Android (2018) - 83 - Préférence écoute des changements API- de préférence
- ESTutorial Android (2018) - 83 - API- preferencias de escucha para los cambios de preferencias
- PTtutorial Android (2018) - 83 - preferências de audição API- para mudanças de Preferência
- ITtutorial di Android (2018) - 83 - Preferenza API- ascolto per le modifiche delle preferenze
- DEAndroid Tutorial (2018) - 83 - Vorzugs API- Listening für Preference Änderungen
- NLAndroid handleiding (2018) - 83 - Voorkeurstemmen API- Listening voor Voorkeur veranderingen
- RUAndroid учебник (2018) - 83 - Предпочтение API- Listening для изменения предпочтений
- PLAndroid poradnik (2018) - 83 - Preferencje API- nasłuchując zmian uprzywilejowane
- JAAndroidのチュートリアル(2018) - 83 - プリファレンスの変更のためのプリファレンスAPI-リスニング
- ARالبرنامج التعليمي الروبوت (2018) - 83 - تفضيل API- الاستماع للتغييرات الأفضلية
- HIएंड्रॉयड ट्यूटोरियल (2018) - 83 - पसंद परिवर्तन के लिए पसंद API- सुनना
- IDtutorial android (2018) - 83 - Preferensi API- Mendengarkan untuk perubahan Preferensi