Hi, how can be disable/enable FAB button? The docs...
# compose
a
Hi, how can be disable/enable FAB button? The docs says that FAB will be disabled when onClick argument is sent as null. But onClick accepts non-null lambdas.
m
Sorry, this docs are out of date. We will fix the docs. As FAB is the main action on the screen, it shouldn't be disabled ever according to the material specs.
👍 1
a
Oohh, guess I’ll have to find some alternative