You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i have extended RowsFragment for the BrowseFragment, everytime when i select the view in the navigation (left side) the onCreate, onCreateView, onViewCreated methods of the fragment are called again, but the global variables persist...
Currently i have the following in my onCreate:
// load data
if (mRecordedBroadcasts == null) {
mArchiveCall = mApp.getService().archivedBroadcasts();
mArchiveCall.enqueue(this);
} else {
loadRows();
}
In my case mRecordedBroadcasts is only null the first time. So why is onCreate called everytime if its already initialized?
The text was updated successfully, but these errors were encountered:
Hi, i have extended RowsFragment for the BrowseFragment, everytime when i select the view in the navigation (left side) the
onCreate, onCreateView, onViewCreated
methods of the fragment are called again, but the global variables persist...Currently i have the following in my onCreate:
In my case mRecordedBroadcasts is only null the first time. So why is onCreate called everytime if its already initialized?
The text was updated successfully, but these errors were encountered: