Fix Issue Fragment has not been attached yet
Check parent fragment is added to its activity
before performing transition on child fragment
through fragment manager.
Ref:
@@ -783,12 +783,14 @@ public class CourseOutlineFragment extends OfflineSupportBaseFragment
}
private void updateBulkDownloadFragment() {
+ if (isAdded()) {
final Fragment bulkDownloadFragment = getChildFragmentManager()
.findFragmentByTag("bulk_download");
if (bulkDownloadFragment instanceof BulkDownloadFragment) {
((BulkDownloadFragment) bulkDownloadFragment).updateVideoStatus();
}
}
+ }
@Override
public boolean showInfoMessage(String message) {
