Hi guys,
I am trying to add different functionality for devices having a physical "back"-button and the ones using swipe gestures to "go back". My initial try was to simply implement "onBack" and return "true", but this does not work for devices like "vivoactive". As this device has a touchscreen but also a physical back button. So I tried to add "onSwipe" and handle the "right swipe". But unfortunately "onSwipe" does not get called when "onBack" returns "true". Thrid try was to use "System.getDeviceSettings().inputButtons", but there the "back"-button is missing... So how to distinguish between devices that have a physical back button and the ones that doesn't have?
Thanks!
Bye