Android app creating two same fragments: one with data and one without
I have created a android app in which I pass data from MainAcitivity to NavAcitivity using intents. However, I further pass the data to a fragment named HomeFragment using bundle(). I check in the HomeFragment if I got the arguments and depending on that display the data.