Questions tagged [swipe-gesture]

Swipe is a gesture that involves touching a touchscreen or trackpad, translating the finger in one direction across the screen or pad, and removing the finger. It is commonly used as a discrete scrolling gesture (for example, go to the next picture).

Swipe is a gesture that involves touching a touchscreen or trackpad, translating the finger in one direction across the screen or pad, and removing the finger. It is commonly used as a discrete scrolling gesture (for example, go to the next picture).

526 questions
8
votes
5 answers

programmatically simulate a swipe gesture in Swift

I am implementing a gesture recognizer for swiping in Swift. I wan to be able to simulate the flinging of the card (programmatically swipe the view). I assumed there would be a built in function for this but all I have found is one for tap gesture…
Nicholas Muir
  • 2,897
  • 8
  • 39
  • 89
8
votes
1 answer

Detecting swipes, click, hold on one View Android

I have an ImageView which fills my whole Activity. I need to be able to detect 4 touch events : Hold (longer than 400 ms) Click Swipe Left Swipe Right At the moment I am able to detect the first two using the following code…
Alk
  • 5,215
  • 8
  • 47
  • 116
8
votes
3 answers

Implement feature like iOS app closing vertical Swipe-to-Dismiss with ViewPager

I currently have Views lined up horizontally in a ViewPager and can cycle through them with a PagerAdapter. Currently, to perform the action that I would like to do on swipe, I have to do a double-tap on the View's page. I could post code, but it's…
8
votes
2 answers

Open navigation drawer on swipe (Material Design Lite)

I'm using Material Design Lite to create a UI for an app in a web view however I have come across a problem where I can't deploy the navigation drawer on swipe. I am using this jquery code to recognise the swipe event $(function() { …
Isaacm
  • 389
  • 5
  • 16
8
votes
2 answers

How to implement swipe gesture in android

I am new to Android. Here, I want to implement Swipe Gesture to navigate between Activities. I have googled it and found different answers in different sites. But I could not get the exact point. By reading all of them I got that we need to…
G K
  • 2,481
  • 4
  • 29
  • 45
7
votes
3 answers

Are there open source gesture libraries in Android?

I have defined my own gestures in an Android app. Is this the only way to define gestures? Are there any standard opensource libraries which will already have the gesture's raw file?
Jyotirmoy Sundi
  • 355
  • 1
  • 5
  • 12
7
votes
1 answer

Possible to add Section Header From Server In Listview With Swipe to Delete and Undo a item

In my Application I added Swipe to dismiss a item along with Undo option in Listview. Requried: I want to add the Section Headers from Server in Listview Like Group1,Group2,..etc. Code for Swipe to dismiss with Undo.Please help me to achieve my…
Kumar
  • 969
  • 2
  • 22
  • 56
7
votes
3 answers

Xamrin Forms : Swipe to delete(gesture) in ListView

I want to implement the swipe to delete functionality in Xamrin Forms, for which i have tried the following. Wrote a custom renderer for the list view and in the "OnElementChanged" of the renderer am able to access the binded command to the…
balu
  • 73
  • 1
  • 1
  • 5
7
votes
1 answer

Swipe Gesture applied at Fragment level along with ViewPager with its default swipe disabled

I found the question below: Android: FragmentActivity inside FragmentActivity (ScrollView in NavigationBar) . However, this question of mine is about how to use Transactions to show fragments as well as enabling swipe gesture detection in a safe…
7
votes
1 answer

How to use jquery swipe without any library?

I need to create jQuery mobile like Swipe gestures $("#slider ul li div").swipeleft(); using core jQuery without using any library or plugins not even jQuery mobile. I know that jQuery mobile widgets are now going to be decoupled, so that we can…
vignesh
  • 512
  • 1
  • 6
  • 25
6
votes
7 answers

How to reverse viewpager swiping

So my app is in RTL, and with that, the tabs are now ordered from right to left..! ..But when I swipe to slide between the tabs, it contradicts the common sense, so I want to reverse it..! see the picture to see the problem..! What I want is..! >…
6
votes
1 answer

Bottom Sheet Swipe Down Behavior

I have successfully created a ListView within a Fragment. From the list I have also managed to successfully load a bottom sheet. If I tap the first item on the list "One" the bottom sheet appears. If I tap outside the bottom sheet, the bottom…
Ibrahim Fawaz
  • 99
  • 1
  • 3
  • 8
6
votes
2 answers

Swipeleft to delete not working in expandable height listview

The application which i am creating has an expandable list view in which i have added the option of swipe to edit and delete.I have added those option but when i run the application it doesn't shows the swipe option even i have tried with another…
Ramesh R
  • 300
  • 4
  • 18
6
votes
1 answer

Android: layout animation like Inshorts news app

swipe up and down effect like those news apps inshorts,hike news,murmur. whole layout smoothly up/down. check app on this link inshorts and murmur. i tried this code... public class VerticalViewPager extends ViewPager { public…
6
votes
0 answers

Swipe right-left on ListView

Have u seen ios imessage app. In this app to see the timestamps of chat messages we need to swipe left. Initially they are hidden but when we swipe left the hidden timestamps are revealed. I would like to implement this in my android app as well.…
Nitesh Kumar
  • 5,370
  • 5
  • 37
  • 54
1 2
3
35 36