Join Slack
Powered by
can i apply a delegate on view visibility on eleme...
# android
r
rCorbellini
07/31/2018, 7:51 PM
can i apply a delegate on view visibility on element in activity ? (i need make some validation before apply visibility to view)
r
rkeazor
07/31/2018, 8:28 PM
I don’t think you want to do that. Delegates are normally used for setting the variable, not setting a method in the variable
rkeazor
07/31/2018, 8:29 PM
just create a function or a extension function if you want to be fancy lol
Open in Slack
Previous
Next