This file contains hidden or 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
class HomeActivity : DaggerAppCompatActivity() { | |
@Inject | |
lateinit var apiService: ApiService | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
// init UI | |
// Your apiService instance is ready to use. |
This file contains hidden or 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
class AnimatorExtension { | |
// Skipping the initialization | |
private val animator: Animator? = null | |
// Normal Usage | |
fun normalAnimationListener() { | |
animator?.addListener( | |
onStart = { |
OlderNewer