Component - Derived state
This UI component shows how derived state works in Android Kotlin Compose. Derived state means the UI updates automatically when some base data changes, by calculating new values from that data.
Here, a counter increments on button click, and a derived state shows if the count is even or odd.