Mark M. | has entered the room |
Mark M. | turned on guest access |
Apr 15 | 8:55 AM |
LL | has entered the room |
LL | has left the room |
Apr 15 | 9:10 AM |
Kumar V. | has entered the room |
Mark M. |
hello, Kumar!
|
Mark M. |
how can I help you today?
|
Kumar V. |
Hi Mark
|
Kumar V. |
Just wanted your thoughts on Hilt as di. As I am going to work on new project, thought to explore that, but wanted some expert view on that.
|
Mark M. |
I have not used it much yet -- I hope to do so in the coming months
|
Mark M. |
while I have heard good things about it, it is built on top of Dagger, which is a fairly complex DI solution
|
Mark M. |
for smaller Kotlin projects, particularly those that might go in a Kotlin/Multiplatform direction, I still recommend Koin
|
Kumar V. |
Yes, I still have problem sometimes in configuring dagger.
|
Kumar V. |
koin, is it, ok.
|
Mark M. |
for larger projects, or projects with a fair bit of Java, Dagger/Hilt is probably the right direction
|
Kumar V. |
Okay
|
Apr 15 | 9:15 AM |
Kumar V. |
View paste
|
Kumar V. |
View paste
|
Mark M. |
I agree that those two sound like the right solutions
|
Kumar V. |
But is there any better known standard way for this ?
|
Mark M. |
sorry, but I am not an ExoPlayer expert -- my experience with it is limited, and I cannot tell you when the correct time is to initialize it
|
Kumar V. |
Okay.
|
Mark M. |
all else being equal, initializing things in onResume() seems scary
|
Mark M. |
but, for all I know, that is what ExoPlayer requires here
|
Kumar V. |
View paste
|
Apr 15 | 9:20 AM |
Mark M. |
again, I am not an ExoPlayer expert, and it is possible that their sample app is not illustrating best practices
|
Kumar V. |
View paste
|
Mark M. |
in terms of updates, *Elements of Android Jetpack* and *Exploring Android* will get updated sometime after Android Studio 4.2 is shipped in a stable form -- it seems overdue for that
|
Mark M. |
*Elements of Kotlin Coroutines* will get an update in a couple of weeks, and *Elements of Kotlin* should reach 1.0 on Monday
|
Mark M. |
in terms of new titles... it's possible that there will be an *Elements of Jetpack Compose* coming out :-)
|
Mark M. |
oh, and *Elements of Android S*
|
Apr 15 | 9:25 AM |
Kumar V. |
View paste
|
Mark M. |
um, other than experimenting with personal/side projects (and reading books, of course), I am afraid that I do not have much in the way of recommendations on that
|
Kumar V. |
Ya makes sense, that is the idea work on personal projects.
|
Kumar V. | |
Mark M. |
you too!
|
Apr 15 | 9:30 AM |
Mark M. |
that is a wrap for today's chat
|
Mark M. |
the transcript will be posted on https://commonsware.com/office-hours/ in a bit
|
Mark M. |
the next chat is Saturday in the 4pm US Eastern time slot
|
Mark M. |
have a pleasant day!
|
Kumar V. | has left the room |
Mark M. | turned off guest access |