Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OnMapReadyCallback? #17

Open
davidmarinangeli opened this issue Apr 3, 2018 · 1 comment
Open

OnMapReadyCallback? #17

davidmarinangeli opened this issue Apr 3, 2018 · 1 comment

Comments

@davidmarinangeli
Copy link

davidmarinangeli commented Apr 3, 2018

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); 
@davidmarinangeli
Copy link
Author

I had to manually add maps API to my project but now there is another problem. with the code above it crashes because

Caused by: android.view.InflateException: Binary XML file line #8: Binary XML file line #8: Error inflating class it.michelelacorte.swipeablecard.SwipeableCard Caused by: android.view.InflateException: Binary XML file line #8: Error inflating class it.michelelacorte.swipeablecard.SwipeableCard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant