Тёмный

Retrofit & Dagger-Hilt Setup - Testing on Android - Part 7 

Philipp Lackner
Подписаться 182 тыс.
Просмотров 33 тыс.
50% 1

In this video we will setup our Pixabay API and also create our singletons with Dagger-Hilt.
⭐ Get certificates for your future job
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:
pl-coding.com/...
💻 Let me personally review your code and provide individual feedback, so it won't backfire and cost you a fortune in future:
elopage.com/s/...
Get the source code for this video here:
github.com/phi...
Regular Android tutorials on my Instagram: / philipplackner_official
Checkout my GitHub: github.com/phi...

Опубликовано:

 

19 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 60   
@dennisrufi143
@dennisrufi143 Год назад
The best series on unit testing for Android. Thanks a lot Philip for awesome learning content.
@tony4518
@tony4518 2 года назад
ApplicationComponent is Deprecated in Dagger Version 2.30 ApplicationComponent removed in Dagger Version 2.31 Alternatively SingletonComponent should be used instead of ApplicationComponent
@DrakotMetal
@DrakotMetal 2 года назад
Thanks, i was struggling with that
@matt-g-recovers
@matt-g-recovers 3 года назад
Hilt is pretty straightforward, this is so awesome!
@alicjamruk8446
@alicjamruk8446 3 года назад
Love the videos! Please continue your awesome tutorials series
@kumarbharani2718
@kumarbharani2718 4 года назад
hi bro u have so much discipline while writing the code🙌
@PhilippLackner
@PhilippLackner 4 года назад
thanks! :)
@Alchemist10241
@Alchemist10241 2 года назад
Simple but informative video as always
@AlgeriaHere
@AlgeriaHere 2 года назад
Thank you for this great video
@herisarwanto1183
@herisarwanto1183 3 года назад
Always "like" your video after wathcing it
@SriHarshaChilakapati
@SriHarshaChilakapati 3 года назад
Instead of gradle.properties file, we can keep in local.properties file right?
@PhilippLackner
@PhilippLackner 3 года назад
yes
@VeronikaDoma-f5y
@VeronikaDoma-f5y Год назад
Great video! :)
@amineayachi335
@amineayachi335 3 года назад
superPhilipp hope youre doing great Youre my hero
@marvelrivera1194
@marvelrivera1194 Месяц назад
🔥🔥
@albertbo2178
@albertbo2178 2 года назад
Incredible explanations!
@PhilippLackner
@PhilippLackner 2 года назад
Thanks!
@sametgundogmus1347
@sametgundogmus1347 3 года назад
Really Helpfull video series !!
@AwesomeDevNotes
@AwesomeDevNotes 4 года назад
Hilt 🧘❣️❣️❣️ more libraries with hilt.
@PhilippLackner
@PhilippLackner 4 года назад
I love it as well :)
@munbonecci7850
@munbonecci7850 4 года назад
Can't wait to see the next video than you!
@PhilippLackner
@PhilippLackner 4 года назад
Thanks!
@tahirdevlog2047
@tahirdevlog2047 3 года назад
if you have compiler error after added @Query("key") apiKey: String = BuildConfig.API_KEY this line , press ctrl+f9, or click hammer icon
@rkstudio8807
@rkstudio8807 3 года назад
Hi, github link does not contains code that you are explaining in the video
@beshoyfakhry936
@beshoyfakhry936 3 года назад
You will find all you want in branches , if it is the master change it.
@akashdeepwadhwa5828
@akashdeepwadhwa5828 3 года назад
you are looking at master branch lol , just browse the branches
@theevan3867
@theevan3867 2 года назад
love it
@ahmedaboshady9733
@ahmedaboshady9733 2 года назад
thank you very much😍
@MoMadNU
@MoMadNU 3 года назад
Great Videos! The link to the github project does not have any of the code shown in this video :-(
@AhmadShahwaiz
@AhmadShahwaiz 3 года назад
i was here to see hilt test for retrofit and bummer
@AmirNili-g3q
@AmirNili-g3q 9 месяцев назад
To hide the key, you can use NDK
@jorgevidal2543
@jorgevidal2543 3 года назад
Thanks good video, great instructor..!
@faisalnaseer1427
@faisalnaseer1427 2 года назад
I usually put them in JNIs with extra layer of cryptography
@johntotetwoo
@johntotetwoo 4 года назад
Great Stuff! Thanks man :) I do have a question, btw. After you declared retrofit as singleton, how will you be able to change the value (of token/s) if you have custom headers specified?
@PhilippLackner
@PhilippLackner 4 года назад
You could use an interceptor that attaches the headers you need to your requests
@baselnat93
@baselnat93 3 года назад
thanks
@foivosstamopoulos9709
@foivosstamopoulos9709 3 года назад
Another great tutorial!
@PhilippLackner
@PhilippLackner 3 года назад
Thanks!
@Kamkle65
@Kamkle65 4 года назад
Great video !
@PhilippLackner
@PhilippLackner 4 года назад
Thanks!
@pradeepkumarreddykondreddy7048
@pradeepkumarreddykondreddy7048 3 года назад
Hilt starts at 09:30
@bro_chenzox
@bro_chenzox 3 года назад
Thanks Philipp!!! One remark on Git. If I just add file to .gitignore than this adding does not exclude this file from being visible to Git.(Files and Folders which are kept ignored by Git are of red color[not in staging area], so our `gradle.properties` is blue[in staging area] even after the rebuild). So, firstly, I need to delete our `gradle.properties` file(making shure I have copied its content before deleting). Secondly, I need to add `gradle.properties` file to .gitignore. Add back `gradle.properties` file with its previous content. And finally I can write API_KEY="..." in the `gradle.properties` file and supplement build.gradle (:app) file.
@harshar6897
@harshar6897 3 года назад
There is an option to do the API key security part with Google servers. Where they will handle it securely
@ivankvych8182
@ivankvych8182 3 года назад
Interesting))
@fatihkoc1520
@fatihkoc1520 2 года назад
hello philipp you are doing awesome works.I have a question about apikey because i put my project into my github account and apikey is inside to project everyone can see it. Is it a problem.What is the problems about apikey? My english not good at all
@muhammadfurqan4598
@muhammadfurqan4598 10 месяцев назад
if you put your api key in the git and your repo is public then any one can access it and used your api key. For example if you have a paid account and you put the api key there the you have to pay the bills too 😬
@studdiougrym5633
@studdiougrym5633 Год назад
does anyone have problems with pixabay sending their confirmation emails?
@nicolasvantsis6166
@nicolasvantsis6166 4 года назад
Hi, update your links because you still give them with your old name. 😉
@PhilippLackner
@PhilippLackner 4 года назад
I did :)
@ashrafmakandar3370
@ashrafmakandar3370 4 года назад
hi sir can you please make a video full screen intent notification
@rupeshmandal1
@rupeshmandal1 4 года назад
Hello sir, can we make video player app like MxPlayer. Show video folder by folder in recyclerView. Please
@자유야놀자
@자유야놀자 4 года назад
Hello. I am using hilt + viewmodelScope now. I want to do a unit test with this combination, can you add a course?
@PhilippLackner
@PhilippLackner 4 года назад
I cover all the knowledge you need for that in this course
@sachinbisht7417
@sachinbisht7417 3 года назад
Files in your git has been removed. Can you upload it again. It will help people who will view this in future.
Далее
Ромарио стал Ромой
00:46
Просмотров 56 тыс.
БЕЛКА РОЖАЕТ? #cat
00:29
Просмотров 297 тыс.
Hilt makes testing easier on Android
32:38
Просмотров 16 тыс.
Test your APIs in Android using MockWebServer!
12:03
Просмотров 1,8 тыс.
Let, Also, Apply, Run, With - Kotlin Scope Functions
11:44
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
Просмотров 895 тыс.
Kotlin Flows in a Nutshell
13:59
Просмотров 58 тыс.
"Clean" Code, Horrible Performance
22:41
Просмотров 887 тыс.
Ромарио стал Ромой
00:46
Просмотров 56 тыс.