Skip to content

Commit 974167f

Browse files
committed
Add comment that empty constructors are needed for IcePick
See 5e7ad6f and #10781 (comment)
1 parent 58f5ec0 commit 974167f

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

app/src/main/java/org/schabi/newpipe/fragments/detail/DescriptionFragment.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public DescriptionFragment(final StreamInfo streamInfo) {
3131
}
3232

3333
public DescriptionFragment() {
34+
// keep empty constructor for IcePick when resuming fragment from memory
3435
}
3536

3637

app/src/main/java/org/schabi/newpipe/fragments/list/channel/ChannelAboutFragment.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public class ChannelAboutFragment extends BaseDescriptionFragment {
3131
}
3232

3333
public ChannelAboutFragment() {
34+
// keep empty constructor for IcePick when resuming fragment from memory
3435
}
3536

3637
@Override

0 commit comments

Comments
 (0)