Created
July 28, 2020 17:01
-
-
Save tizisdeepan/9bc10a3282b65765bc55b3ff7e6701a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@AndroidEntryPoint | |
class MainActivity : MyBaseActivity() { | |
@Inject lateinit var apiService: ApiService | |
override fun onCreate(savedInstanceState: Bundle?) { | |
// Injection happens in super.onCreate(). | |
super.onCreate() | |
// Do something with apiService ... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment