Relative Content

Tag Archive for javaandroidandroid-fragments

How to change textview that is not on my screen

I am trying to load data from the cloud and then display it in a text view. This means that after the user logs in, before they decide to change to any of the other 3 screens in the app, I want to populate the textviews with the proper information. The only problem is that the view ids that are trying to be accessed are null since those fragments haven’t been loaded. When I try the same process using the view id of a on screen textview it works but on the other fragments no dice.