Update
I managed to get rid of the null pointer exception, I tested for null in the loadData method in the fragments
I am building an app that