Kotlin Mastery
Open main menu
About
Roadmap
Login
Loading...
Broadcast Receiver
1
Have you worked with Broadcast Receivers? Can you explain what they are and how they work?
2
You've come across a pull request in which a BroadcastReceiver starts a new thread in its onReceive() method. What are your concerns?
3
How do you normally register your Broadcast Receivers? Any reasons behind picking it over other methods?
4
Can you describe the lifecycle of a Broadcast Receiver and how it interacts with the lifecycle of its parent application?
5
How can you restrict other apps from sending broadcasts to your BroadcastReceiver?
6
You have spotted a pull request where a database related code is called inside onReceive method. What are your concerns?
7
Your team's Business Analyst comes and asks you if your application can be launched automatically when a specific broadcast is received? What will be your answer?
8
What happens to a broadcast message if it is sent to an app that is in a cached state?
9
Which of following are correct about Broadcasts?