Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ public void onResume() {
}
}

@Override
public void onDestroy() {
super.onDestroy();
errorPanelHelper.dispose();
}

/*//////////////////////////////////////////////////////////////////////////
// Init
//////////////////////////////////////////////////////////////////////////*/
Expand All @@ -74,6 +68,14 @@ protected void initViews(final View rootView, final Bundle savedInstanceState) {
errorPanelHelper = new ErrorPanelHelper(this, rootView, this::onRetryButtonClicked);
}

@Override
public void onDestroyView() {
super.onDestroyView();
if (errorPanelHelper != null) {
errorPanelHelper.dispose();
}
}

protected void onRetryButtonClicked() {
reloadContent();
}
Expand Down