Code Monkey home page Code Monkey logo

accordion-swipe-layout's People

Contributors

alexandrius avatar naiksoftware avatar wtkvarox avatar yahiaangelo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

accordion-swipe-layout's Issues

License

Hi,
I see that this library is available in the maven repository under Apache License.
Can the source code here also be used according to the Apache License?
Thanks!

Doesn't work!

Does not work! Just not working! Everything is done correctly, but it couldn't help it.

How to set left and right drawables programmatically?

Hi! I know that there are two methods for this purpose like setRightIcons(int[] res) and setLeftIcons(int[] res), but it seems to me they doesn't work properly. I tried to use them in OnBindViewHolder(ViewHolder holder, int position), but they didn't work. How can I set drawables programmatically?

Programatically change the icons

Hey man, really cool library, one of the very few that actually work.
I have one question tho. How can I change the icons/colors in the runtime? Changing them in the recycler adapter did nothing.

Thank you in advance!

Add swipe listeners

Hello,

Thank you for great library, please don't throw this project.
I just want to ask you about adding ability to listen of changing swipe states - onExpandRight listener or something like that.

Overlapping Menu Items

Hi!

My problem is, that I want to have a left-swipe and a right-swipe menu.
In each menu there are 3 different items.

When I swipe from right to left, all elements are shown beside each other like I want it to be.
When I swipe from left to right, the items are overlapping or just two items are showing at the same time (dependend how hard I swipe).

When I exchange the array values, the same behaviour is happening, so it is not dependent on the content of the items, but the direction of the swipe.

I set the properties:
app:canFullSwipeFromLeft="false"
app:canFullSwipeFromRight="false"

Does anyone have an idea, why that is?
Thank you.

<?xml version="1.0" encoding="utf-8"?> <com.alexandrius.accordionswipelayout.library.SwipeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/xxx" android:layout_width="match_parent" android:layout_height="wrap_content" app:mainItemLayout="@layout/item_foreground" app:leftItemColors="@array/swipe_left_colors" app:leftItemIcons="@array/swipe_left_drawables" app:leftStrings="@array/swipe_left_strings" app:rightItemColors="@array/swipe_right_colors" app:rightItemIcons="@array/swipe_right_drawables" app:rightStrings="@array/swipe_right_strings" app:swipeItemWidth="80dp" app:iconSize="40dp" app:canFullSwipeFromLeft="false" app:canFullSwipeFromRight="false" />

Swipe buttons without icons

Hello,

Can I make buttons without icons? Now I must set drawables, set iconSize to 0dp and textTopMargin to 0dp, right? It would be great if I can just not to set drawables in that case.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.