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
import org.junit.jupiter.api.extension.* | |
import org.koin.core.Koin | |
import org.koin.core.context.startKoin | |
import org.koin.core.context.stopKoin | |
import org.koin.dsl.KoinAppDeclaration | |
/** | |
* Usage: | |
* Add as companion to test class like | |
* class GreetingDatabaseImplTest: KoinTest { |
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
import android.view.View | |
import android.view.ViewGroup | |
import android.view.animation.Animation | |
import android.view.animation.Transformation | |
/** | |
* View extensions for expanding and collapsing | |
*/ | |
fun View.expand() { |
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
import android.animation.ObjectAnimator | |
import android.view.View | |
/** | |
* Simple class used to pulse a view infinitely then fade in when stopped. | |
* Created by tsloan on 11/15/2017. | |
*/ | |
class PulseAnimation(view: View) { | |
private var pulseAnimation : ObjectAnimator? = null |