
Design pattern – Observer
What is it? Real world Social media When a person updates his status – all his followers gets the notification A follower can follow or […]
What is it? Real world Social media When a person updates his status – all his followers gets the notification A follower can follow or […]
Destination Activity/ Fragment Register BroadcastReceiver Source Activity/ Fragment Send Broadcast signal
Child fragment Add listener interface Call listener when something occurs Parent fragment Attach listener to child fragment where it is called Implement listener
Create a base layout class Embed base class into screen layout Set values for each UI element in Activity
Abstract class and Interface Abstract class Abstract classes cannot be instantiated, but they can be subclassed An abstract method is a method that is declared […]
Build screens having Toolbar & Back button & popup dialog, show/hide soft keyboard Build an abstract Activity/ Fragment class Build screen implementing this base abstract […]
Process of implementing Koin DI Declare a module Defines those entities which will be injected at some point in the app Start Koin A single […]
Why is DI necessary? Remove codes of initiating dependencies in your application Helpful for Unit Test How does DI remove codes of initiating dependencies? Control […]
Source structure app\—— java\————- [package name]\———————- AppApplication.kt———————- repository\——————————- UserPreferenceRepository.kt——————————- RepositoryModule.kt Create “RepositoryModule.kt” Create “UserPreferenceRepository.kt” Declare Koin module into “AppApplication.kt”
Clear cache Clean Android gradle SDK location not found Create “local.properties” file Rebuild Android dependencies Clean iOS pod react-devtools pod install Test deep link on […]
Copyright © 2025 | WordPress Theme by MH Themes