Fragments in TabLayout do not bind to viewmodel
问题 I've been struggling with this for 2 days now and am quite simply stuck. The binding of the fragments simply will not kick in for some reason. The page is shown correctly and the tabs do work fine. I can swipe from tab 1 to 2 and vice versa. The TextView should show some text from the viewmodel. When I debug the constructors of both fragment viewmodels are executed but the properties on the LoginNotificationViewModel (LoginDescription and LastLoginRequestReceivedOn) never fire. I've got a