I have some strange requirements where I have to keep the keyboard open when moving to the next fragment in the user onboarding flow. I tried to implement that using one invisible EditText inside the parent activity layout file and requesting focus to this EditText just before loading the next fragment but no luck with that.
In SO, I found all the issues related to not closing the keyboard when changing fragments but I specifically need that issue as a feature inside our app onboarding.
I am using the Jetpack Navigation component to navigate in between fragments and all fragments are used in the same activity.