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
16
votes
7 answers

Swipe to go back gesture flutter

How do i implement the swipe from the left to go back gesture in flutter? Not sure if it was already implemented automatically for iOS, but I wanted it for Android as well (as things are becoming gesture based).
Tom O'Sullivan
  • 3,416
  • 5
  • 15
  • 27
15
votes
2 answers

Can't scroll in a ListView in a swipeRefreshLayout

I'm having an issue with the SwipeRefreshLayout. I have a list view within the layout and every time I scroll upward in the list view the swipe to refresh layout is tiggered and you can never scroll back to the top of the layout. Anyone have any…
VirtualProdigy
  • 1,637
  • 1
  • 20
  • 40
14
votes
2 answers

Ignore Immersive mode swipe

With the game running in Android 4.4's Fullscreen Immersive Mode, the user swipes from the edge of the screen to show the notification / status bar & the Menu buttons bar However, these swipes are also passed to the game underneath as downward…
13
votes
3 answers

How to add Swipe Gestures to UITableView cell?

I added this code in cellForRowAtIndexPath UISwipeGestureRecognizer *gestureR = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(handleSwipeFrom:)]; [gestureR…
13
votes
4 answers

Android, how to emulate swipe gestures in AVD?

How do I simulate swipe gestures (left and right, for example) on AVD? Is it possible at all? (In Android Developer's Guide - Emulator I can't find them... P.S.: I do have "Touch-screen support" set to "yes" in my Android 2.2, API level 8 device…
MarcoS
  • 17,323
  • 24
  • 96
  • 174
13
votes
2 answers

How to show/hide fragment with swipe up/down like soundcloud android app

I am getting curious to know that how a view can be created like the one shown below . Is this drag and drop or some custom view with gesture detection and animations? What can be a good starting point?
SohailAziz
  • 8,034
  • 6
  • 41
  • 43
13
votes
5 answers

SwipeListView only one item opened at a time

This question refers to the SwipeListView component found here: https://github.com/47deg/android-swipelistview After trying out several implementations and fixes I found on the web I decided to modify the sources a little. I will post this here…
Adrian Olar
  • 2,883
  • 4
  • 35
  • 63
13
votes
2 answers

Simple swipe gesture to activity tutorial?

im looking for a turoial with source code on swipe gesutes, I dont want a view pager, I want a swipe gesture tutorial. here is one example I found but doesnt work for me http://www.eridem.net/android-tip-010-left-and-right-swipe-gesture-events I…
Moussa
  • 851
  • 3
  • 10
  • 19
12
votes
1 answer

iOS 5.1 swipe gesture hijacked by UISplitViewController - how to avoid?

A new behavior in iOS 5.1 related to UISplitViewController apps seems to be intercepting UISlider motion with undesired results. This might also apply to UISegmented Controls and any other control surface that handles left-to-right gestures. With a…
jbbenni
  • 1,158
  • 12
  • 31
12
votes
0 answers

SwipeToDismiss & nestedScroll does not work well together - Jetpack Compose

I am trying to implement a list of items with the ability to delete items with swipe. I've basically used LazyColumn and SwipeToDismiss composables. With default configuration vertical scrolling of LazyColumn and horizontal swiping of SwipeToDismiss…
mehmet6parmak
  • 4,777
  • 16
  • 50
  • 71
10
votes
2 answers

What are the `steps` mentioned while executing swipe() using Appium

This is just out of curiosity and cluelessness about the implementation of the method, I was going through the appium server logs for the java code : driver.swipe() Server Logs read : info: [debug] [BOOTSTRAP] [debug] Swiping from [x=540.0,…
Naman
  • 27,789
  • 26
  • 218
  • 353
10
votes
4 answers

Change iOS view / view controller using swipe gesture

How can I implement a swipe gesture to change view to and fro? The best example I've seen so far is the Soundcloud application but I couldn't figure out how to make it work.
Xpx
  • 137
  • 1
  • 2
  • 7
10
votes
1 answer

How can someone create a horizontal scroll list with snapping effect to the center

OK! I've been trying to do this on and of for the last few weeks and cant seem to find a good solution to how I can accomplish what I want. Been trying with HorizontalScrollView, Gallery (which is deprecated). I am now looking into RecycleView…
9
votes
1 answer

android listview swipe to delete like in gmail app

Show to implement ListView like in gmail APP when the swipe effect on item deletes it? I have tried using ViewPager as ListView element but this does not work. Thanks
cubesoft
  • 3,448
  • 7
  • 49
  • 91
8
votes
2 answers

how to handle 1 to 3 fingers swipe gesture in iOS

I use the following code to handle 1 finger swipe in my code: UISwipeGestureRecognizer *swipe = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(handleViewsSwipe:)]; [swipe…
atbebtg
  • 4,023
  • 9
  • 37
  • 49
1
2
3
35 36