SwipeableCard icon indicating copy to clipboard operation
SwipeableCard copied to clipboard

OnMapReadyCallback?

Open davidmarinangeli opened this issue 6 years ago • 1 comments

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 avatar Apr 03 '18 17:04 davidmarinangeli

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

davidmarinangeli avatar Apr 03 '18 18:04 davidmarinangeli