allan.conda
06/09/2022, 9:35 AMpointerInput
seems doesn’t have the pointer id to detect the number of pointers on screen. Anyone tried anything similar? We can’t find an open-source code or snippet available so far.Albert Chang
06/09/2022, 10:00 AMallan.conda
06/09/2022, 10:49 AMMichael Paus
06/09/2022, 10:58 AMAlbert Chang
06/09/2022, 11:09 AMPager
or the ViewPager2
? If the former, yeah it works well as shown in the sample. If the latter, I’m not sure and I don’t think there’s anything I can do if it doesn’t work.Albert Chang
06/09/2022, 11:09 AMallan.conda
06/09/2022, 11:19 AMMichael Paus
06/09/2022, 11:55 AMColton Idle
06/09/2022, 2:00 PMallan.conda
06/09/2022, 7:54 PMColton Idle
06/09/2022, 7:56 PMallan.conda
06/10/2022, 5:14 AMAlbert Chang
06/10/2022, 5:57 AMIt doesn’t let you swipe pages in case there is zoom already applied.Yeah this is by design.
It lets you drag image across the screen even though you didn’t zoomed it enough to cover whole surface of the screenIf I understand you correctly you are probably not applying
Modifier.aspectRatio()
as shown in the usage section of the README and the sample.
It uses layout instead of graphics layerThis is also by design. The original version is using graphics layer, however as stated in the README:
This version is mainly intended to be used to show images. If the image is larger than the screen, when zoomed, the original version will show the upscaled version of the downscaled image, while this version will directly scale the image to the zoomed size, which has higher quality.
allan.conda
06/11/2022, 5:39 AMAlbert Chang
06/11/2022, 12:27 PMAlbert Chang
06/12/2022, 10:58 AM1.5.0-SNAPSHOT
(instructions on how to use snapshot builds are in README).allan.conda
06/12/2022, 2:34 PMallan.conda
06/15/2022, 7:00 AM