5 Android Interview Questions - Threads, Leaks, Intent, Service

  Рет қаралды 23,733

Oday

Oday

Күн бұрын

Пікірлер: 36
@guanlunzeng9332
@guanlunzeng9332 3 жыл бұрын
I like your intonation 😂
@646766100
@646766100 3 жыл бұрын
2 thread in asynctask one is background thread and other is ui thread to set the data on ui or view.
@ped7g
@ped7g 3 жыл бұрын
depends on Android version and the way how you configure it. There was attempt from Google to launch AsyncTasks at several backround threads around some Android... 4.0, or 2.something... and it turned out most of the apps were not written in a way to expect several async tasks getting executed out of order, so they dialled it back to serial execution of asynctask on the default executor pool, but you can ask for the other one, which allows you to run several background threads in parallel. (writing this from head, and haven't used this API for over year, so it's possible I mixed up some details, or even maybe I'm thinking about some other subsystem, not AsyncTask, but I'm like 80% sure it was actual AsyncTask stuff, not Thread).
@eduvgama
@eduvgama 3 жыл бұрын
Yes. I would say 2 too.
@walktxrn
@walktxrn 2 жыл бұрын
Correct me if I'm wrong. But don't you mean static inner classes with weak reference so they CAN be GCd when no longer used?
@bharat_132
@bharat_132 2 жыл бұрын
That did make sense to me
@fb767
@fb767 3 жыл бұрын
I love your humour haha at 3:15.
@braxtonhancock5508
@braxtonhancock5508 3 жыл бұрын
big thanks for making this video 🙏
@ChrisAthanas
@ChrisAthanas 3 жыл бұрын
Great content
@odayprogrammer
@odayprogrammer 3 жыл бұрын
thanks Chris, what else would you like to see on this channel?
@ChrisAthanas
@ChrisAthanas 3 жыл бұрын
Deeper dive on coroutine exception handling and Room database relationship annotations with good examples and graphics
@786madiha
@786madiha Жыл бұрын
@@odayprogrammer End to end examples of using Unit/funtional tests.
@thebatu
@thebatu 3 жыл бұрын
min 3:26 Are you sure that the correct phrase is not "so they CAN be GC-ed" ? since weak reference can be GC at anytime, no memory leak will occure?
@sagarock1012
@sagarock1012 3 жыл бұрын
mistake may be
@michealandretis7243
@michealandretis7243 3 жыл бұрын
Know all of them, still not hired. But I guess If you're not a master in android development, testing, use every single reactive tech, dependency injection etc etc etc you don't even qualify for junior roles.
@odayprogrammer
@odayprogrammer 3 жыл бұрын
Funny you mention that just now, I got rejected for a senior Android dev position at a Dutch company just 2 hours ago, because of a personality test :) really don't be discouraged, many companies aren't worth your time and it's good to know upfront, better than wasting your time with them
@michealandretis7243
@michealandretis7243 3 жыл бұрын
​@@odayprogrammer You know what's funny? your skill indicator before the technical interview for 'junior and mid roles' is measured by questions like 'What is an activity' and 'How do you start another Activity' or 'What is a toast' all in simple Java ... you jump in the interview and get asked about what are the differences in testing methods , how experienced you're in using dependencies and of course mastering MVVM. And if you say you're mostly using java they look at you as if you're an alien as if you can't achieve the exact same results with java.... Note that these roles are supposed to target graduates, and i'm like.... There is no such thing as mvc,mvvm in any school. How the hell are you supposed to work like that if you've never joined a big company or worked Freelance(like me)/Self taught? Funny is that after an interview, the hr confided to me that i answered everything correctly for 1.5 year of experience vs mid level seniority.
@pinkies26k
@pinkies26k 3 жыл бұрын
@@michealandretis7243 I truly gets u. I got rejected few time by big companies that expect me to be able to memorise the terms and definition. I'm self taught in android development. I don't know many of the terms but I know how to get these things done. But these people from big companies always have this attitude like "oh you don't know this? Try reading about it next time" Lately the interviews feel a lot like exam. I did try to revise on the android knowledge but different interviewers ask different questions and if I try to answer it from my point of view, they look at me like I'm some kind of idiot. It's really depressing.
@aniketshetty4800
@aniketshetty4800 3 жыл бұрын
1 background thread 1 callback to main thread
@techmarinar
@techmarinar 3 жыл бұрын
Thanx man this was very helpful 😊
@jorgegutierrez2100
@jorgegutierrez2100 2 жыл бұрын
You should have way more subscribers. I just found your channel and the content is delicious 😋
@kwesiamartey
@kwesiamartey 2 жыл бұрын
Can you imagine, I met these questions not long ago. Exactly the same questions
@mohamedalaa6yahoo
@mohamedalaa6yahoo Жыл бұрын
Many thanks to you ♥♥♥
@rohitjakhar6672
@rohitjakhar6672 3 жыл бұрын
Great Sir
@nokaffirisinnocent
@nokaffirisinnocent 2 жыл бұрын
awesome bud wish i knew before
@denniskwakye6177
@denniskwakye6177 2 жыл бұрын
Got asked a bunch of questions that were answered here. If only i watched this earlier 💀
@strictway2907
@strictway2907 3 жыл бұрын
But AsyncTask is already deprecated, are they going to continue asking about it?
@beyondlimits384
@beyondlimits384 3 жыл бұрын
if we use async task in ur project they will bash us..on.. why u not using retrofit or volley and in last they will ask question on async....there is no limits of hypocrisy
@MegaRockandroll09
@MegaRockandroll09 2 жыл бұрын
​@@beyondlimits384 Its to test your basic knowledge. There is no hypocrisy here. If you have implemented Async they why did you choose async , why not new Handler or Thread or WorkManager.
@AlfredGuimaz
@AlfredGuimaz 3 жыл бұрын
Made me crack up at the start
@ikeo8666
@ikeo8666 3 жыл бұрын
3:26 so true. as an interviewer just tell me you don't know so we can move on rather than trying to buillshit and looking stupid. Nobody expect you to know everything, just fess up and next.
@smirnovsergey2010
@smirnovsergey2010 3 жыл бұрын
two threads
@carolhuang5529
@carolhuang5529 2 жыл бұрын
Could you please recommend some projects for resume? thx
@punithapriya1110
@punithapriya1110 2 жыл бұрын
2
@czerox16
@czerox16 2 жыл бұрын
there are some many mistakes in this video
@odayprogrammer
@odayprogrammer 2 жыл бұрын
Be nice and correct them if you know them
Senior Android Developer Checklist
19:53
Oday
Рет қаралды 12 М.
❌Разве такое возможно? #story
01:00
Кэри Найс
Рет қаралды 6 МЛН
Dad Makes Daughter Clean Up Spilled Chips #shorts
00:16
Fabiosa Stories
Рет қаралды 7 МЛН
大家都拉出了什么#小丑 #shorts
00:35
好人小丑
Рет қаралды 81 МЛН
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 9 МЛН
Android Developer Certification Exam - Experience
8:41
100 GB
Рет қаралды 22 М.
ANOTHER 6 Android Interview Questions
7:46
Oday
Рет қаралды 6 М.
5 NEW Android Interview Questions
13:04
Oday
Рет қаралды 9 М.
Avoiding common coroutines mistakes in Compose by Márton Braun
15:02
Kotlin by JetBrains
Рет қаралды 2,8 М.
TOP 5 HARDEST INTERVIEW QUESTIONS & Top-Scoring ANSWERS!
12:15
CareerVidz
Рет қаралды 1,9 МЛН
The Many Faces of an Android Technical Interview
9:20
Oday
Рет қаралды 2,6 М.
Android and Kotlin Interview Questions You Don't Want to Miss!
14:46
Charfaoui Younes
Рет қаралды 2,6 М.
❌Разве такое возможно? #story
01:00
Кэри Найс
Рет қаралды 6 МЛН