In some of my demos I've noticed that the AeroGear Android Pipes will make multiple calls to a remote resource.
Steps to reproduce:
1) get a Pipe using Pipeline.get("name", activity)
2) Load data from the pipe. As a callback use a static callback which extends AbstractActivityCallback
3) Rotate the phone and allow the Activity to reset.
4) Repeat steps 1 & 2
If it is functioning correctly, no network access will happen on step 4 when read is called.
|