Model-View-ViewModel

Use MVVM in Java when binding, observable state, and presentation models should keep views reactive and logic separated.

MVVM works best in Java when the UI toolkit already supports binding and observable state. The real design decision is whether a view model clarifies state transitions or just adds another wrapper around the same view logic.

These pages cover JavaFX and Android-flavored MVVM patterns so state synchronization stays explicit instead of hidden inside widget callbacks.

In this section

Revised on Thursday, April 23, 2026