Hello all,
More an observation than a question here. The program I am writing makes extensive use of scrollview objects. Some of these are sparsely populated and others are choked with other views. Regardless of the population of any scrollview, my tablet has always struggled with lag when the user scrolls through them. Recently, I've added the Gestures library attempting to zoom & rotate a canvas (unrelated to the Scrollviews). Something I've noticed about this; when I SetListener to the target view through the Gestures library, all of my Scrollviews throughout the entire program become IMPOSSIBLY smooth! Even the most populated of them which contains 10,000 views shows no lag whatsoever. I have gone from setting the listener only when needed to setting it during the first time initialization and no lag has yet to appear. Any idea what's going on here and possibly how to trigger this for those that have scrollview lag issues but no need for the Gestures library? Is it a permissions issue or just something within the library itself? Keep coding out there!
More an observation than a question here. The program I am writing makes extensive use of scrollview objects. Some of these are sparsely populated and others are choked with other views. Regardless of the population of any scrollview, my tablet has always struggled with lag when the user scrolls through them. Recently, I've added the Gestures library attempting to zoom & rotate a canvas (unrelated to the Scrollviews). Something I've noticed about this; when I SetListener to the target view through the Gestures library, all of my Scrollviews throughout the entire program become IMPOSSIBLY smooth! Even the most populated of them which contains 10,000 views shows no lag whatsoever. I have gone from setting the listener only when needed to setting it during the first time initialization and no lag has yet to appear. Any idea what's going on here and possibly how to trigger this for those that have scrollview lag issues but no need for the Gestures library? Is it a permissions issue or just something within the library itself? Keep coding out there!