icerockdev / moko-widgets

Multiplatform UI DSL with screen management in common code for mobile (android & ios) Kotlin Multiplatform development
https://moko.icerock.dev
Apache License 2.0
384 stars 31 forks source link

Implement View.Gone/Visible from Widgets #269

Closed Diy2210 closed 4 years ago

Diy2210 commented 4 years ago

Hi, how implement View.Gone/Visible like native UI from ImageWidget if value = null?

Image: Снимок экрана 2020-07-24 в 14 38 14

Value: Снимок экрана 2020-07-24 в 14 38 33

If value(updates) == 0, image warning GONE: Снимок экрана 2020-07-24 в 14 30 34

Dorofeev commented 4 years ago

You can use VisibilityWidget for that