FormFiller
Android helper library to populate form with defined data-set

Usage
class DemoApp : Application() {
override fun onCreate() {
super.onCreate()
if (BuildConfig.DEBUG) {
FormFiller.Builder(this)
.keyCode(KeyEvent.KEYCODE_F)
.doubleTap()
.scenario {
id(R.id.username, "username")
id(R.id.password, "password")
}
.build()
}
}
}
Advanced usage
Define different data-set and switch between them inside the app
FormFiller.Builder(this)
.doubleTap()
.enableScenariosSwitcher()
.scenario {
id(R.id.username, "username")
id(R.id.password, "password")
}
.scenario("Unhappy") {
id(R.id.username, "wrong")
id(R.id.password, "wrong")
}
.build()
tag("username") {
it.setText(Random.toString())
}
Download
implementation 'com.cocosw:formfiller:1.0'