Community
Participate
Working Groups
Currently, when multiple interaction policies access the same transaction policy to perform their actions, the transaction policy is initialized more than once, which leads to an IllegalStateException ("already initialized"). This unfortunate constellation can be observed within the MVC Logo Example when interleaving touch gestures for panning and zooming (PanOrZoomOnScrollPolicy, ZoomOnPinchSpreadPolicy). A workaround is to combine the multiple interaction policies to a single interaction policy that implements the individual interaction interfaces. This combined policy can then ensure that an underlying transaction policy is only once initialized. We need to investigate how to simplify the combination of interaction policies that use the same transaction policy.