Skip to content

Instantly share code, notes, and snippets.

@xuhaibahmad
Created March 30, 2020 06:53
Show Gist options
  • Save xuhaibahmad/837bd226cf8cc34257d6e93c5a167529 to your computer and use it in GitHub Desktop.
Save xuhaibahmad/837bd226cf8cc34257d6e93c5a167529 to your computer and use it in GitHub Desktop.
import com.agoda.kakao.edit.KEditText
import com.agoda.kakao.screen.Screen
import com.agoda.kakao.text.KButton
import com.agoda.kakao.text.KTextView
import com.zuhaibahmad.kaspressotestingdemo.R
class GradeCalculatorScreen: Screen<GradeCalculatorScreen>() {
val inputMarks = KEditText { withId(R.id.etMarks) }
val buttonSubmit = KButton { withId(R.id.btSubmit) }
val labelGrade = KTextView { withId(R.id.tvGrade) }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment