michelelacorte / swipeablecard Goto Github PK
View Code? Open in Web Editor NEWA simple implementation of swipe card like StreetView
License: Apache License 2.0
A simple implementation of swipe card like StreetView
License: Apache License 2.0
there is no project gradle, could you remove those files in git ignore
Hi,
I am already using compile 'com.google.android.gms:play-services-auth:10.0.1'
in my build.gradle nad I have noted that SwipeableCard using com.google.android.gms:play-services-auth:8.4.0
Here is my compile error I am getting
All com.google.android.gms libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 8.4.0, 10.2.1. Examples include com.google.android.gms:play-services:8.4.0 and com.google.android.gms:play-services-auth:10.2.1 less... (Ctrl+F1)
Do we have any way to override only play-services-auth library gradle?
Process 'command 'C:\Program Files\Android\Android Studio\jre\bin\java.exe'' finished with non-zero exit value 1
Hi, michele,
Thank your for your effort.
I have question for you , i am trying to increase the speed of the transition of card showing, i had tried to increase the duration of the card, but it will not effect.
you had mention the method to set the duration of card
setDuration(long duration);
i had increased the duration , but there is no change in duration it was as same as before.
please suggest me some thing.
I have card in recyclerview with custom view how to make left and right swipe according two different action??
Is there any suggestion??
i want to swipe from my custom adapter.
The error code provided in your documentation:
optionViews.add(new OptionView.Builder() .image(R.drawable.bus_stop) .title("TITLE") .colorTitle(R.color.colorPrimary) .menuItem(R.menu.menu_main) .toolbarListener(toolbarListener).build());
The working code:
optionViews.add(new OptionView.Builder() .normalCard() .image(R.drawable.bus_stop) .title("TITLE") .colorTitle(R.color.colorPrimary) .menuItem(R.menu.menu_main) .toolbarListener(toolbarListener).build());
Please see that.
Regards
So, I was trying to take data from a RESTAPI and use your fantastic library.
but it is giving me the following log and just shows the layout for a sec.
I took a video of it and after observation, I can see that the data displayed is correct too.
It just displays for 1 second only, may be less
hi. please edit this project and support lower android version. for example api +14 .
tnx
Hello, I've some troubles after adding your library:
Error:(28, 22) error: cannot access OnMapReadyCallback class file for com.google.android.gms.maps.OnMapReadyCallback not found
when i do simply
final OptionView singleSwipe = new OptionView.Builder()
.normalCard()
.text("Text, a lot of Text, a lot of Text, a lot of Text, a lot of Text, a lot of Text, a lot of Text, a lot of Text, a lot of Text, a lot of Text, a lot of Text," +
" a lot of Text, a lot of Text, a lot of Text, a lot of Text, a lot of Text, a lot of Text")
.title("Single Card")
.build();
SwipeableCard swipeableCard = findViewById(R.id.swipeCard);
swipeableCard.init(this,singleSwipe);
While compiling i getting this error:
/home/alexander/StudioProjects/Ichleihedir/app/build/intermediates/exploded-aar/it.michelelacorte.swipeablecard/library/2.3.0/res/layout/maps_card_layout.xml Error:(10) No resource identifier found for attribute 'liteMode' in package 'de.gvisions.oweapp' Error:(10) No resource identifier found for attribute 'mapType' in package 'de.gvisions.oweapp'
Great library! I'm using the Swipeable RecyclerView with several edittexts and buttons on the same page. The layout is like this:
<CoordinatorLayout>
<LinearLayout>
<EditText />
<Button />
</LinearLayout>
<RecyclerView />
</CoordinatorLayout>
I realized both edittexts and buttons are not clickable. I think that's because of the RecyclerView captures the whole screen. Any suggestions to replace the linearLayout? How about AppBarLayout?
What about using it in fragment ?
I'm using a FragmentViewPager and a BottomNavigationView.
The Card of my fragment start under the BottomNavigationView.
(The Blue square)
Thanks you very much !
EDIT : I Temporaly fixed it by adding a paddingBottom to the content and set the startCArdPosition to 400
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.