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

Not able to find classes after changing the version of the library to 2.0.0 #48

Open
Shajeel-Afzal opened this issue Oct 17, 2015 · 9 comments

Comments

@Shajeel-Afzal
Copy link

I changed the version of the library to:

compile 'jp.wasabeef:recyclerview-animators:2.0.0'

And now it is not able to find any Animator, for example proejct is giving me error for:

        FadeInUpAnimator animator = new FadeInUpAnimator();
        animator.setAddDuration(200);

What might be wrong?

@wasabeef
Copy link
Owner

@Shajeel-Afzal

what's your use version?

If you use the recyclerview-animator:2.0.0 you need to use the recyclerview-v7:23.1.0.

compile "com.android.support:recyclerview-v7:23.1.0"

@Shajeel-Afzal
Copy link
Author

Yes i am using the same version of RecyclerView (23.1.0). But issues seems to be with import.

@wasabeef
Copy link
Owner

@Shajeel-Afzal
What kind of errors?

@Shajeel-Afzal
Copy link
Author

@wasabeef it is not able to find any class from the library. for example FadeInUpAnimator it is not importing it.

@Shajeel-Afzal
Copy link
Author

This is also happening in case of https://github.com/prolificinteractive/material-calendarview, however i can use the class in the XML but i am not able to import it in the Code. I have tried other libraries like Retrofit to include in the code and they are working fine. What is wrong with some of the Github projects?

@Shajeel-Afzal
Copy link
Author

Well, i just observed that i can import once i run the app in case of MaterialCalendarView, i think the same will also work for recyclerview-animators.

@oktayayar
Copy link

@wasabeef I have same issue. I downloaded jar file and imported my project and Animator classes are not recognized by the compiler and they cannot be imported

@wasabeef
Copy link
Owner

@oktayayar

whats jar version?

@oktayayar
Copy link

@wasabeef Version 2.0.0. I downloaded from maven repository given in description. However, I solved this issue by importing source codes as library to my project.

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

3 participants