Тёмный

What's new in Android Jetpack 

Android Developers
Подписаться 1,3 млн
Просмотров 52 тыс.
50% 1

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

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 80   
@codinginflow
@codinginflow 4 года назад
Android development is fun in 2020
@LiranBarsisa
@LiranBarsisa 4 года назад
15:00 For those who want to use the alternative of startActivityForResult, it should have been mentioned that you need to update to these: implementation "androidx.fragment:fragment:1.3.0-alpha06" implementation "androidx.fragment:fragment-ktx:1.3.0-alpha06"
@goobar
@goobar 4 года назад
Very interested to try out Hilt and see how it compares to the existing approaches 🤔
@musabnasreldeen2009
@musabnasreldeen2009 4 года назад
Yes it looks interesting
@prudhvir3ddy
@prudhvir3ddy 4 года назад
@goobar waiting for your videos..
@Zhuinden
@Zhuinden 4 года назад
Everything Yigit says is gold. I wasn't a fan of Navigation initially, but Navigation 2.2.0 is already amazing: NavGraph-scoped ViewModels with SavedStateHandle support are a game changer. Tbh it'd actually already solve the result passing that 2.3.0 adds, but I guess it's a nice solution when people really are looking for "the simplest thing".
@Zhuinden
@Zhuinden 4 года назад
Also I was skeptical that Paging 3 would be backwards-compatible with Paging 2, but they did it. Wow.
@saidooubella
@saidooubella 4 года назад
I tried hilt right after this video and it was way more less headaches. i love it 💚💚💚 !
@Hackaprende
@Hackaprende 4 года назад
Do you know if I need to know Dagger to learn Hilt or can I go straight to it?
@saidooubella
@saidooubella 4 года назад
@@Hackaprende no, no need to learn dagger if you're an Android developer ! Go-to the documentations to know how to use Hilt on d.android.com/
@Hackaprende
@Hackaprende 4 года назад
@@saidooubella thanks, starting right now!
@saidooubella
@saidooubella 4 года назад
@@Hackaprende i am glad that i was helpful 😊 !
@mdalikazi
@mdalikazi 4 года назад
Thank you for Hilt. I hate Dagger because of the steep learning curve I only use it if I'm forced to. Now with Hilt hopefully DI will become part of all my projects.
@arseniykucherenko4960
@arseniykucherenko4960 4 года назад
How about Koin? Did you try Koin what do you think about it?
@mdalikazi
@mdalikazi 4 года назад
@@arseniykucherenko4960 no never tried koin but I've heard of it.
@nishantgarg7497
@nishantgarg7497 4 года назад
After Jetpack, Android is actually becoming Better. Will try out soon
@dmitriykarlovsky369
@dmitriykarlovsky369 4 года назад
Hi. Why did you design Paging3 with extension of PagingSource? Extension is always hard to Unit-test. You could create interface with all methods to implement and expect it in ctor. That all reminds old story with Thread-class. Does one should extent it or inject with Runnable?!
@ragupatt
@ragupatt 4 года назад
Does it make sense to have Bill of Materials (BoM) for jet pack? There are too many libraries now and it will make it easy to be on top of the latest releases.
@thonguyen252
@thonguyen252 4 года назад
I am still confuse why does Navigation alway use replace fragment which cause fragment is re-created when I popBack. In many cases, I would like to keep the fragment alive. I tried to use dialog instead of fragment but they consume too much memory.
@gabormiklay9209
@gabormiklay9209 4 года назад
This is the 3rd video tonight (about Android 11) and my mind is already blown. 🤩 Amazing work guys! 👍
@mohamedsaeed1891
@mohamedsaeed1891 4 года назад
i'm confused what should i use AndroidX or jetpack
@RaviTejagameboy
@RaviTejagameboy 4 года назад
I use rxjava bg thread to run initialization of deps during app launch, whats the benefit of using App startup?
@AndreuJapan
@AndreuJapan 4 года назад
It is possible to use injection in objects with Hilt?: object Object1 { @Inject lateinit var myVar1: MyVar1 .... }
@kenjimatsuoka
@kenjimatsuoka 4 года назад
I was try introduce hilt to my app. It was super useful and easy. By the way, does remodels mean view model in subtitle 02:38?
@xpopcornx1747
@xpopcornx1747 4 года назад
What if you want to pass multiple values back from navigation? SavedStateHandle observers only works for one value, so you have to spam observers for each value you want to return which will happen in an unpredictable order.
@denisshov8518
@denisshov8518 4 года назад
The first 3 seconds of the video... I watched them 10 times in a row... Like it.
@orhanavan7222
@orhanavan7222 4 года назад
Woaw new DI library inspired from Hilti, I'm excited 😉
@n-o-i-d
@n-o-i-d 4 года назад
Thank you for the long-running job support for work manager!
@crjacinro
@crjacinro 4 года назад
why Google created another DI instead of embracing the popular Koin DI that is being used now in most apps?
@RaviTejagameboy
@RaviTejagameboy 4 года назад
Its not entirely new Di, just replacement of dagger-android.
@crjacinro
@crjacinro 4 года назад
@@RaviTejagameboy ok. so why create a replacement then? instead of recommending koin officially?
@RaviTejagameboy
@RaviTejagameboy 4 года назад
@@crjacinro Google always pushed dagger as main DI for android, they are now investing resources to make it easier for beginners by introducing hilt, Koin is never in the picture
@RaviTejagameboy
@RaviTejagameboy 4 года назад
Again its not replacement of Dagger, it's a wrapper around dagger to make DI easy when dealing with Android components
@coroutinedispatcher
@coroutinedispatcher 4 года назад
I loved HIlt. Congratulations, awesome job
@Hackaprende
@Hackaprende 4 года назад
Do I need to know Dagger to learn Hilt or can I go straight to it?
@aruny25
@aruny25 4 года назад
No go straight for it. It's designed for easy adaption
@SumitSahoo
@SumitSahoo 4 года назад
Hilt is the new Dagger. Long live annotations :)
@SaiTeja-vq8hq
@SaiTeja-vq8hq 4 года назад
Umm.. just why hilt.. Koin is way better and readable.. Lesser compilation times (dryRun as a unit test when you actually change your dependencies) Can remove dependencies at run time (unload modules, simpler than scopes) Some 11 ms delay in startup for 400 dependencies which is totally acceptable for the benefits you get (lesser compilation times)..
@gabormiklay9209
@gabormiklay9209 4 года назад
Theme changing and creating/managing is something that wasn't easy (at least for me).
@javalc6
@javalc6 4 года назад
Nice, but still missing stable release of androidx.appcompat:appcompat:1.2.0 (waiting from last year)
@aamernabi
@aamernabi 4 года назад
Title should have been "Whole new Jetpack".
@kbdevashish7645
@kbdevashish7645 4 года назад
Android Jetpack team already knew the pain of android developers implementing DI frameworks, the comments praising Hilt shows that. Will try out soon.
@ohefny
@ohefny 4 года назад
What is the platform bug on sdk < 26 that makes you write this line config.fontScale =0 as a workaround
@arseniykucherenko4960
@arseniykucherenko4960 4 года назад
How about better game development support when we can develop native mobile games with nice visual editor in Android Studio just using Kotlin and get rid of all this third parties like c# with Unity?
@1990mrnobody
@1990mrnobody 4 года назад
I thought with next version of Paging you will provide some easier way to update/delete item in RecyclerView and I'm disappointed we are still forced to use Room or do extra work to have such a common scenario
@shahrukhmalik8496
@shahrukhmalik8496 4 года назад
Just went through hilt by making a sample application. Must say that zero amount of boilerplate code is needed to add hilt in your apps. A great wrapper library indeed. Thank you android team.
@gabormiklay9209
@gabormiklay9209 4 года назад
12:47 haha. I was just thinking about Lint yesterday, as I made lot of changes to my codes.
@alexneeky7920
@alexneeky7920 4 года назад
what about injecting into workers or other cases which previously used with assist inject lib
@antoniokomangyudistira4150
@antoniokomangyudistira4150 4 года назад
I love android jetpack
@do9core
@do9core 4 года назад
Hilt really help me to reduce so many lines of DI codes.
@shikharraje
@shikharraje 4 года назад
Is Hilt open source? Can't seem to find it on Github...
@lsanotes
@lsanotes 4 года назад
cs.android.com/androidx/platform/frameworks/support/+/androidx-master-dev:hilt/
@shikharraje
@shikharraje 4 года назад
@@lsanotes Thanks! Is this a git repo? And what website is this?
@GrantOakley
@GrantOakley 4 года назад
@@shikharraje dagger.dev/hilt/ went live today
@igorbrishkoski4073
@igorbrishkoski4073 4 года назад
dagger.dev/hilt/
@ЕленаБелашова-ц2ф
@ЕленаБелашова-ц2ф 2 года назад
I feel happy after this video🤩
@rickmuse3905
@rickmuse3905 4 года назад
Cool for new api.
@is0658
@is0658 4 года назад
hilt is looking great
@SaminAliMondal
@SaminAliMondal 4 года назад
I need pagination with mutable data. 😵
@dilaojermaine
@dilaojermaine 4 года назад
Agree. They moved Paging to version 3 without even considering it.
@RhexGomez
@RhexGomez 4 года назад
Paging 3.0 exposes a Flow. You can can convert your Immutable Data to Mutable.
@TheBlackManMythLegend
@TheBlackManMythLegend 4 года назад
Thanks Yigit. Brilliant.
@sivaganeshkantamani2976
@sivaganeshkantamani2976 4 года назад
This what's new series is great Yigit Boyar. Really you covered a lot. Hilt is my Favourite
@CopernicoTube
@CopernicoTube 4 года назад
I wish some in house lifecycle support for bound events, because the existent way to use observable live variables to it, is a damn antipattern. Actions aren't data.
@dnkilic
@dnkilic 4 года назад
Thank you! Thank you! Thank you!
@iris_blake
@iris_blake 4 года назад
Thanks for Hilt🥰😅
@tamboo_art
@tamboo_art 4 года назад
Oh yes
@charuwaka1
@charuwaka1 4 года назад
What about Dagger Now ?
@hpmusicbytes
@hpmusicbytes 4 года назад
Rip dagger?
@minh3348
@minh3348 4 года назад
dagger is the besttttttttttttttttttt
@manalu-kh6hs
@manalu-kh6hs 4 года назад
OK 👍
@Shakenbeer
@Shakenbeer 4 года назад
Google spoiled really cool DI library called Dagger, and now they are trying to reanimate their Frankenstein.
@TekEffekt
@TekEffekt 4 года назад
Sviatoslav Melnychenko why was it spoiled?
@Shakenbeer
@Shakenbeer 4 года назад
​@@TekEffekt I was a Dagger user since the very beginning, and it was OK. Dagger was framework-independent, and with proper architecture, one could really easy in-build it into Android application. And then... Google appears with this crazy idea to make Android dev live easier, and the learning curve of Dagger became almost vertical. Eventually, we end up with this monster: github.com/android/architecture-components-samples/blob/master/GithubBrowserSample/app/src/main/java/com/android/example/github/viewmodel/GithubViewModelFactory.kt You could tell, then this is one man's opinion - agree. Actually, the only argument I need is in this video itself (quote): "... we were able to delete 75% of the dependency injection code".
@queenangle5843
@queenangle5843 4 года назад
@@Shakenbeer yes mein vate kar rahi tumhari sab ki soch kiye pagal samajh Rakha tha kya
@gentlepeace-09
@gentlepeace-09 4 года назад
You guys are amazing , I wish I canbe be part of you 🥰 it will be honor for me.
@Ziptoze
@Ziptoze 4 года назад
First
Далее
Jetpack Compose
24:20
Просмотров 66 тыс.
What's new in Android
32:07
Просмотров 89 тыс.
РЫБКА С ПИВОМ
00:39
Просмотров 707 тыс.
Outsmarted 😂
00:20
Просмотров 2,7 млн
Thinking in Compose
25:27
Просмотров 87 тыс.
Does Deno 2 really uncomplicate JavaScript?
8:55
Просмотров 289 тыс.
State of Kotlin on Android
14:31
Просмотров 43 тыс.
What's new in Android Development Tools
28:26
Просмотров 28 тыс.
Kotlin Coroutines 101 - Android Conference Talks
24:49
Просмотров 136 тыс.