Тэги:
#android_sharedpreferences #sharedpreferences #sharedpreferences_android #android_sharedpreferences_example #android_getsharedpreferences #shared_preferences #preferences_android #android_shared_preferences #android_preferences_example #android_getpreferences #getsharedpreferences_android #sharedpreferences_editor #android_app_preferences #android_store_preferences #android_sharedpreferences_tutorial #shared_preference_colors #sharedpreferences_android_tutorial_colorКомментарии:
👍 not know properly English but understood...
ОтветитьThanks for the video, I learned how to use shared preferences and implemented. Moreover, I learned about Reformating Code from tutorial.
Ответитьfor Image?
ОтветитьCan you please make another example of shared preference with login activity.
ОтветитьThanks, it's working. fine but I need more activity so this. how to do please tell me.
ОтветитьExcelente vídeo :) gracias!!
Ответитьwhat about if i want to set color for entire background not to the toolbar
ОтветитьThank you so much Sir well explained the content (y)
ОтветитьrequestPermission("android.permission.READ_EXTERNAL_STORAGE"); how solve the error
ОтветитьYo man .....great work....one thing that i like about you is you are coding very freely and friendly...you never worry what will happen.... you declare and use things just when they needed... you forget to give app name and you done that after the first run... i like it that you forget small small things...because that;s the sign of true programmer......once again ...great job..and very good explanation. :)
ОтветитьI want to put the shared preferences in a database that only registers settings that work within the app only how would I do this?(also I am using firebase)
ОтветитьThank you.
ОтветитьSir can you teach me how to use shared preference on image? Thank you sir
Ответитьafter i save the data . its still ok . but, after i clear cache . it return to default value again . how to solve it ?
ОтветитьThank you, great video!
ОтветитьGreat explanation !
Thanks a lot
Thanks a lot! It helped me in clearing my doubts :)
ОтветитьWhat about if two Activities will be use? How to pass the value of shared preference to the other? Thank you
Ответитьthank you :) I really like the way you teaches.. :P
Ответитьvery thanks
like this make for select language by sharedpreference if we use 3 language like en and ar and it
but work for all activity like main activity and about activity and setting
thanks
Thanks very much , this was really helpful
ОтветитьGreat tutorial! By the way, you can use the "Preview" tab on the right. The changes are rendered automatically.
Ответитьtoo long, but should only focus on preferences, not GUI, but generally thumbs up!!! thanks for sharing.
ОтветитьWill this backup to google backup cloud?
Ответитьi am making a button clicking counter app how save click details of button
Ответитьmay i know how about the button, now i would like to do the colour of button is permanently just like your tutorial, for example, when i click button red, the button red will become red and reopen application, the button still is red while when i click button green, the button green also will become green and same when reopen again, the button green still is green, hope can kindly reply me, very urgent for me, thanks.....
ОтветитьWhy don't you just declare a method that get the view and depending on the id do something and not repeat the setOnclicklister like 300 times?
Also, why don't you deal with the deprecated items. You can use ContextCompat.getColor(context, R.color.color_name).
Just saying.
Thank you, it was very helpful
ОтветитьThank you for your video! It help me a lot :D
I've a question. What should I do if I want to store the color like drawable, like this : getResources().getDrawable(R.color.colorPrimary)
How can I put it in mEdit if is not an int?
hmm this keeps stopping for me...
i guess i'll try it again tomorrow :D
Thank you!
Ответитьawesome explanation dude ....!! keep it up
ОтветитьMan, your class and your explanation metodoly is amazing...
Tks a lot for share your knowledge.