I have two fragments on main display and by using nestedPresentationFragment, I can insert two fragments on presentation display. However, I realized that my drawing fragment is so complicated that it is difficult to maintain synchronization between two instances of drawing fragment. So I looked into Mirror.
While one fragment in nestedPresentationFragment stays the same, I would like to have a MirrorFragment in nestedPresentationFragment that mirrors the drawing fragment on main display.
The current MirrorPresentationFragment doesn’t seem to work inside of nestedPresentationFragment. I have tried to implement my own MirrorFragment. The errors include strange null object reference and the presentation mode doesn’t exit cleanly and the presentation mode can only be shown the first time after reboot and will be black screen after the second run.
Any suggestions on MirrorFragment in nestedPresentationFragment? Thanks!