2,818 questions
1
vote
1
answer
104
views
swipe action on desktop via mouse slide action
I managed this much to get swipe working on mobile devices and it does work on desktops too (macOS and Windows) using the mouse / trackpad swipe action. But I can't get it to work using mouse slide.
...
1
vote
0
answers
116
views
Swipe to reveal buttons android
I want to make a swipe to reveal with sticky and delete logic without using libraries, but it doesn't work as I understand it because the dX of the ItemTouchHelper moves relative to the content ...
0
votes
1
answer
260
views
How to implement two drawers (left and right) with swipe control in Android Studio using Jetpack Compose? (composables)
Hello!
I am working on an Android app in Android Studio using Jetpack Compose, and I want to implement two drawers:
A left drawer that can be opened and closed by swiping from the left edge of the ...
1
vote
1
answer
55
views
External button code to get carousel image attribute
I have this code that populates my Carousel with images from the path:
class EzLaunchScreen(Screen):
def __init__(self, **kwargs):
super().__init__(**kwargs)
img_path = ('D:\\...
0
votes
1
answer
60
views
RealmSwift: SwipeAction to show edit modal
I'm trying a List with lessons with a SwipeAction to show an edit modal:
@ObservedResults(Lesson.self) var lesson
@State private var showEditModal = false
@State private var forEdit: Lesson?
...
0
votes
1
answer
57
views
MAUI Carousel omit first page for windows platform
I want to use a CarouselView to show multiple pages in a MAUI app. But it does not work properly only for windows platform. For Android it works fine.
I defined the carousel:
<CarouselView ...
0
votes
0
answers
96
views
How to get the height of the Android's bellow navbar swipe feature?
Check the picture...I am actually trying to create a container whose height should be the whole height of the viewport without considering the top safe area and also subtracting the bottom tab bar/nav ...
1
vote
1
answer
155
views
how to make the text in the items to float above the image in SwipeJS?
I'm trying to duplicate this effect from the SwipeJS demo page, where the text floats on the bottom part, but not outside of, the image in each slide.
I've tried using slide-content like I see in the ...
0
votes
1
answer
59
views
how can i setup swipe fucntion in androidstudio kotlin
so when I started my project first I modified the MainActivity class inside the OnCreate to initialize the functions for its activity_main.xml (imagebuttons recyclerview background change with switch ...
0
votes
0
answers
81
views
How to make swipe able selection control like in camera mode?
I want to make control like camera shot mode selection in standard Android smartphone (Portrait, Video, Panorama, etc, selection) using MAUI.
The buttons are swipeable and selectable by touching.
...
0
votes
1
answer
112
views
How to swipe back an item when another item is pressed or swiped using react-native-gesture-handler?
I am trying to cancel the swipe action (swipe back) of a swiped item, when another item is swiped or pressed, using react-native-gesture-handler. I tried to get help from this snack post, but I couldn'...
-2
votes
2
answers
194
views
Swipeable button in QML
i wanna create a component which can slide a rectangle from left to right to simulate ON or OFF like a iOS left-to-right button to shutdown phone (https://youtu.be/qEJ5PerUqFw?t=42 second 40 like this)...
0
votes
0
answers
215
views
SwipeItem Command Binding Misbehavior
I had view model expose two RelayCommand:
[ObservableProperty]
private ObservableCollection<MyModel> data;
[RelayCommand]
private async Task Edit(MyModel m) {}
[RelayCommand]
private async ...
0
votes
0
answers
42
views
LayoutParams Issue Java
I have this for animating a RIGHT swipe and it works great:
good swipe
if(direction == RIGHT){
if(distance < 217) {
layoutParams.leftMargin = (int) distance + startLeftMargin;
...
0
votes
0
answers
197
views
Swiping up from the bottom of the screen (to switch apps) unintentionally triggers another object's DragGesture in SwiftUI, iOS
This is about SwiftUI.
I have an object with a DragGesture attached to it and this object is positioned at the very bottom of the screen in iOS – just above the safe area with the app switcher handle. ...