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
| import android.content.Context | |
| import androidx.constraintlayout.motion.widget.MotionLayout | |
| import androidx.constraintlayout.motion.widget.MotionScene | |
| import timber.log.Timber | |
| fun MotionLayout.after(completion: () -> Unit) { | |
| Timber.v("Started listening, currently at ${currentState.resName(context)}") | |
| this.setTransitionListener(object: MotionLayout.TransitionListener { |
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
| package dev.jasonpearson.testing | |
| import org.junit.Test | |
| import org.junit.Assert.* | |
| /** | |
| * Example local unit test, which will execute on the development machine (host). | |
| * | |
| * See [testing documentation](http://d.android.com/tools/testing). |
OlderNewer