Skip to content

Commit

Permalink
feature=kas_kau_improvements: additional method for UiViewBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
matzuk committed Feb 1, 2020
1 parent 64108ae commit 8114e77
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,13 @@ class UiViewBuilder {
*/
fun withClassName(clazz: Pattern) = addSelector { clazz(clazz) }

/**
* Matches the view which class matches given name
*
* @param clazz The class to match
*/
fun withClassName(clazz: Class<*>) = addSelector { clazz(clazz) }

/**
* Matches the view by class instance
*
Expand Down

0 comments on commit 8114e77

Please sign in to comment.