How to launch application on swipe in corners of android home screen or it may be any screen like lazy swipe -
i developing app lazy swipe
how launch app bottom/top corners of screen , how implement circular scrolling .
i think want use pull refresh listview lazy scrolling getting few records. using library it. refer link. here's [ https://github.com/shontauro/android-pulltorefresh-and-loadmore ]
lvnewdealtab .setonlastitemvisiblelistener(new onlastitemvisiblelistener() { @override public void onlastitemvisible() { // todo auto-generated method stub // toast.maketext(getactivity(), "end of list!", // toast.length_short).show(); count = count + 1; lvnewdealtab.setmode(mode.disabled); if (done == true) { lvnewdealtab.setmode(mode.disabled); lvnewdealtab.onrefreshcomplete(); } else if (favaorite == true) { // favaorite = false; lvnewdealtab.setmode(mode.disabled); lvnewdealtab.onrefreshcomplete(); } else if (nearby == true) { } else if (all == true) { // geteventoperationnew("0", "0", "" + count); } // check total number of deals... if (totaldeal.equals(totaldeal)) { // calling services. geteventoperationnew("0", "0", "" + count); } else { toast.maketext(getactivity(), "total deals completed" + totaldeal, toast.length_long).show(); } } });
at last item visible put code getting more record.
Comments
Post a Comment