[FREE] Swipe Action View - An Extension for making your layout swipeable

Swipe Action View

This extension allows you to make your views or layout swipeable with Swipe View library. With this extension you can implmemnt swipe in arrangement and in dynamic arrangement. Some demos are given in preview section and you can check the given demo apk.

Thanks @sergii for sponsoring the extension

All Blocks

Documnetation

component_event

This event raises when the surface view is swiped full.

component_event (1)

This event raises when user releasd its hand from the surface view.

component_event (2)

This event raises when user swiping your view(not opened fully nor closed fully). It returns horizontal offset in x variabe and vertical offset in y variable.

component_event (3)

This event raises when surface view is visible fully in UI or background view has been slided and closed.

component_method (4)

This block do the main job that is to create the swipe layout. It is a type of fram layout just has some swipeable functions. You have to give a unique id so you can use it later to add the views and customising it. Give the container in which you want to create this layout to in parameter. surfaceView parameter accept the main layout that will be shown frontly. clicktoClose paramter accept a boolean value if given true then when user click bakcground views then it will be closed autimatically.

component_method (5)

This block helps you to enable or disable the swipe in particular direction. There are 4 properties given for defining the direction.

component_method (6)

This block helps you to add the views that will be shown in background or when the surface view is being swiped. You can add one view to one direction and can add four views in four direction. See the Usage for more info.

component_method (7)

This block set the mode of swipe layout. There are two properties given for defining the modes.

component_method (8)

This block return the current applied show mode refrenced to given id.

component_method (9)

This block opens or swipe the view in given direction refrenced to given id.

component_method (10)

This block close or slide the surface view to its original position.

image

These are two properties for modes.

image

These are the properties for defining the direction or drag edge.

Hope you understood the documentation.
Let see usage and output now

Usage

blocks (13)

First you have to use this block to create the swipe layout in given container.

blocks (14)

After creating the layout layout you need to add the views(min :- 1 and max :- 4) in any direction but one view to one direction.
You just completed the necesarry steps. Now you can change the modes or add the events for listening.

Preview

Let see output now

Simple Views

IMG_0zvclf

Dynamic Simple List

IMG_c9jtlu

Grid View

IMG_bjz3t7

Download

Download APK
Download AIX

Donate

If you can donate then Paypal here

Credit

Thanks to @Shreyash for his super Rush .

Suggestion and issue are welcome

If you like the extension then like the topic
Thank You All

32 Likes

Nice extension @Sumit1334 aka Extension Machine :crazy_face:

:heart: :smiling_face_with_three_hearts:

1 Like

Nice extension

1 Like

Wow, good extension :ok_hand::ok_hand:

Nice Extension @Sumit1334 :clap: :+1:

1 Like

This is a beautiful creation for making app like stores and mail type. Nice. :heart: :tada:

Thanks :kissing_heart::kissing_heart: I am a student, won’t earn money otherwise ill surely donate

Nice extension @Sumit1334 :clap: :heart_eyes:

1 Like

@Sumit1334 please add aia i am bit confuse how set up this blocks and arrangements

I haven’t made any proper aia of this extension. So i can’t post it. What confusion you have? The blocks are very easy to use.

Use Create block and create the layout in a container. Register the surfaceView(the view that will be slided).

Then use AddView to add the background views(the view that will be shown when user swipe the view). Huge the direction in which you want to show the background view.

Let me know if you’re stucked anywhere.

1 Like

This will be helpful for me to use in my shopping app cart, but I didn’t understand how it works, can you share the aia. congratulation for this wonderful extension

I have made a custom sidemenu using some arrangements but it is not visible unless user opens it…and I want to add this extension…can this extension also swipe the sidemenu…

What a great extension friend. Thanks a lot.

2 Likes

I can’t say about it. I don’t think this should be used for making side menu. But you can try as it’s possible with this extension.

Currently I have this aia. This is of above posted apk.

SwipeActionView.aia (76.6 KB)

Thank you all for your comments :blush:.

4 Likes