Howto androidx-databinding for onClick to static method with parameter
问题 (Note: this is a follow up question to Is it possible to use androidx-navigation with onClick-databinding without writing boilercode in Fragment? I want to use androidx-databinding to handle onClick calling a static method with parameters Utils.myNavigate(...) via the xml-layout-file My Code below is verifyed by the compile process but is never called when i click on the button. How to fix this? My Layoutfile: <layout ...> <data> <import type="de.k3b.androidx.navigationdemo.R" /> <import type