Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

"Pull to refresh" for ScrollView on Android

$
0
0

I managed to implement a pull to refresh View for ScrollView on iOS by using a negative top value. If the user pulls the scrollview down my plull view appears. But on Android the scrollview does not scroll beyond its border. Is there a way to change this in Android?

<Alloy>
        <Window>        
                <ScrollView class="rootScroll">
                        <Label class="refreshPull" top="-100">Pull</Label>
                        <Label top="10">Test</Label>
                </ScrollView>
        </Window>
</Alloy>

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>