Android virtual keyboard handling
In my app, I am using single activity with multiple fragments. In my activity I am listening BackStackChange, what I want is that whenever there is a change in BackStack I want to hide the virtual keyboard. Instead of writing a code on onDestroyView of every fragment, I want to do the same in BackStackChangeListener. Please help me out in this.