How to run an app in swipes in the corners of the Android home screen, or it can be any screen like lazy swipe
I am developing an application like Lazy Swipe
how to launch an app like this from the bottom / top corners of the screen and how to implement circular scrolling.
+3
source to share
2 answers
I think you want to use pull to update the list for lazy scrolling to get multiple records. I also use a library for this. you refer to this link. Here [ 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 The Total Number of Deals...
if (TotalDeal.equals(TotalDeal)) {
// Calling to services.
GetEventOperationNew("0", "0", "" + count);
} else {
Toast.makeText(getActivity(),
"Total Deals Completed" + TotalDeal,
Toast.LENGTH_LONG).show();
}
}
});
in the last paragraph Visible to enter the code to get a larger record.
0
source to share
I think the circular scroll should use some of the magic of Samsung http://developer.samsung.com/s-pen-sdk/samples/Circle-Launcher
0
source to share