Thanks for the amazing sample code (simple yet fully work + ❤️ the auto resize preview)
I'm not super familiar with Display API but I notice that
in this line you will update/transform the ViewFinder on the update event of different Display than that of the ViewFinder. What is the reason behind this?