What's new in Android Jetpack

  Рет қаралды 51,704

Android Developers

Android Developers

Күн бұрын

Learn about the latest news in Android Jetpack, including recent changes to popular libraries, and exciting new libraries.
Resources:
Jetpack blog → goo.gle/3heHMYh
Android Jetpack → goo.gle/2Ai1SQH
Related Playlists:
Android 11 → goo.gle/android11
Modern Android Development playlist → goo.gle/modern-android-develo...
Jetpack playlist → goo.gle/jetpack
Subscribe to Android Developers → goo.gle/AndroidDevs
Speaker:
Yigit Boyar
#featured #android11 #betalaunch
event: #Android11: The Beta Launch Show; re_ty: Publish; product: Android - Jetpack Compose; fullname: Yigit Boyar;

Пікірлер: 80
@codinginflow
@codinginflow 3 жыл бұрын
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"
@gabormiklay9209
@gabormiklay9209 4 жыл бұрын
This is the 3rd video tonight (about Android 11) and my mind is already blown. 🤩 Amazing work guys! 👍
@orhanavan7222
@orhanavan7222 4 жыл бұрын
Woaw new DI library inspired from Hilti, I'm excited 😉
@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.
@n-o-i-d
@n-o-i-d 4 жыл бұрын
Thank you for the long-running job support for work manager!
@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.
@RaviTejagameboy
@RaviTejagameboy 4 жыл бұрын
I use rxjava bg thread to run initialization of deps during app launch, whats the benefit of using App startup?
@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?!
@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 😊 !
@gabormiklay9209
@gabormiklay9209 4 жыл бұрын
12:47 haha. I was just thinking about Lint yesterday, as I made lot of changes to my codes.
@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..
@coroutinedispatcher
@coroutinedispatcher 4 жыл бұрын
I loved HIlt. Congratulations, awesome job
@nishantgarg7497
@nishantgarg7497 4 жыл бұрын
After Jetpack, Android is actually becoming Better. Will try out soon
@denisshov8518
@denisshov8518 4 жыл бұрын
The first 3 seconds of the video... I watched them 10 times in a row... Like it.
@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?
@ohefny
@ohefny 4 жыл бұрын
What is the platform bug on sdk < 26 that makes you write this line config.fontScale =0 as a workaround
@alexneeky7920
@alexneeky7920 4 жыл бұрын
what about injecting into workers or other cases which previously used with assist inject lib
@javalc6
@javalc6 4 жыл бұрын
Nice, but still missing stable release of androidx.appcompat:appcompat:1.2.0 (waiting from last year)
@do9core
@do9core 4 жыл бұрын
Hilt really help me to reduce so many lines of DI codes.
@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
@SumitSahoo
@SumitSahoo 4 жыл бұрын
Hilt is the new Dagger. Long live annotations :)
@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.
@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.
@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.
@TheBlackManMythLegend
@TheBlackManMythLegend 4 жыл бұрын
Thanks Yigit. Brilliant.
@gabormiklay9209
@gabormiklay9209 4 жыл бұрын
Theme changing and creating/managing is something that wasn't easy (at least for me).
@mohamedsaeed1891
@mohamedsaeed1891 4 жыл бұрын
i'm confused what should i use AndroidX or jetpack
@rickmuse3905
@rickmuse3905 4 жыл бұрын
Cool for new api.
@AndreuJapan
@AndreuJapan 4 жыл бұрын
It is possible to use injection in objects with Hilt?: object Object1 { @Inject lateinit var myVar1: MyVar1 .... }
@antoniokomangyudistira4150
@antoniokomangyudistira4150 4 жыл бұрын
I love android jetpack
@aamernabi
@aamernabi 4 жыл бұрын
Title should have been "Whole new Jetpack".
@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
@is0658
@is0658 4 жыл бұрын
hilt is looking great
@user-wz1jp3io1t
@user-wz1jp3io1t 2 жыл бұрын
I feel happy after this video🤩
@sivaganeshkantamani2976
@sivaganeshkantamani2976 4 жыл бұрын
This what's new series is great Yigit Boyar. Really you covered a lot. Hilt is my Favourite
@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.
@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?
@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.
@tamboo_art
@tamboo_art 4 жыл бұрын
Oh yes
@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)..
@dnkilic
@dnkilic 4 жыл бұрын
Thank you! Thank you! Thank you!
@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/
@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
@iris_blake_zw
@iris_blake_zw 4 жыл бұрын
Thanks for Hilt🥰😅
@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.
@manalu-kh6hs
@manalu-kh6hs 4 жыл бұрын
OK 👍
@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.
@minh3348
@minh3348 4 жыл бұрын
dagger is the besttttttttttttttttttt
@NishitGajjar
@NishitGajjar 4 жыл бұрын
You guys are amazing , I wish I canbe be part of you 🥰 it will be honor for me.
@charuwaka1
@charuwaka1 4 жыл бұрын
What about Dagger Now ?
@hpmusicbytes
@hpmusicbytes 4 жыл бұрын
Rip dagger?
@Shakesbeer1
@Shakesbeer1 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?
@Shakesbeer1
@Shakesbeer1 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 жыл бұрын
@@Shakesbeer1 yes mein vate kar rahi tumhari sab ki soch kiye pagal samajh Rakha tha kya
@Ziptoze
@Ziptoze 4 жыл бұрын
First
Jetpack Compose
24:20
Android Developers
Рет қаралды 65 М.
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 7 МЛН
Luck Decides My Future Again 🍀🍀🍀 #katebrush #shorts
00:19
Kate Brush
Рет қаралды 8 МЛН
Vivaan  Tanya once again pranked Papa 🤣😇🤣
00:10
seema lamba
Рет қаралды 30 МЛН
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 154 МЛН
State of Kotlin on Android
14:31
Android Developers
Рет қаралды 43 М.
KMP vs. Flutter - Who Will Win The Cross-Platform Battle?
16:19
Philipp Lackner
Рет қаралды 33 М.
Deepwater's Gene Munster on why Google will win the AI arms race
7:29
How Fast Can You Throw a Car in Poly Bridge 3?
15:06
Reid Captain
Рет қаралды 35 М.
What's new in Android
32:07
Android Developers
Рет қаралды 88 М.
Enums considered harmful
9:23
Matt Pocock
Рет қаралды 196 М.
Understand Kotlin Coroutines on Android (Google I/O'19)
37:49
Android Developers
Рет қаралды 173 М.
What's new in Android Development Tools
28:26
Android Developers
Рет қаралды 28 М.
Google Data Center 360° Tour
8:29
Google Cloud Tech
Рет қаралды 5 МЛН
Suspend functions - Kotlin Vocabulary
9:03
Android Developers
Рет қаралды 50 М.
Худший продукт Apple
0:53
Rozetked
Рет қаралды 158 М.
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 4,7 МЛН