litho-testing
0.47.0
litho-testing
/
com.facebook.litho.testing.viewtree
/
ViewExtractors
View
Extractors
class
ViewExtractors
Function objects used for extracting specific information out of Android classes
Functions
Properties
Functions
generate
Get
View
Tag
Function
Link copied to clipboard
open
fun
generateGetViewTagFunction
(
key
:
Int
)
:
Function
<
View
,
String
>
Generates a function that extracts information about view tags from the given view.
Properties
GET_CONTENT_DESCRIPTION_FUNCTION
Link copied to clipboard
val
GET_CONTENT_DESCRIPTION_FUNCTION
:
Function
<
View
,
String
>
GET_DRAWABLE_FUNCTION
Link copied to clipboard
val
GET_DRAWABLE_FUNCTION
:
Function
<
View
,
String
>
GET_TEXT_FUNCTION
Link copied to clipboard
val
GET_TEXT_FUNCTION
:
Function
<
View
,
String
>
GET_VIEW_ID_FUNCTION
Link copied to clipboard
val
GET_VIEW_ID_FUNCTION
:
Function
<
View
,
String
>
A function that inputs a view and outputs the view's id and visibility.