Skip to content

View Extensions

paulocns edited this page Mar 14, 2019 · 3 revisions

onClick

Receives a function that receives the view as a parameter.

This method set the onClickListener on this view and calls the function received as a parameter when the view is clicked

visible

Receives a boolean.

This property set the visibility to VISIBLE or to INVISIBLE according to the boolean received

present

Receives a boolean.

This property set the visibility to VISIBLE or to GONE according to the boolean received

Clone this wiki locally