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

ViewPump shows deprecation error. #61

Open
tateisu opened this issue Jun 29, 2023 · 3 comments
Open

ViewPump shows deprecation error. #61

tateisu opened this issue Jun 29, 2023 · 3 comments

Comments

@tateisu
Copy link

tateisu commented Jun 29, 2023

ViewPump new version shows deprecation error that suggests don't use global ViewPump instance.

@mrfaa
Copy link

mrfaa commented Jul 5, 2023

Also here:

implementation 'io.github.inflationx:calligraphy3:3.1.1'
implementation 'io.github.inflationx:viewpump:2.1.1'

grafik

@tateisu
Copy link
Author

tateisu commented Jul 10, 2023

 Caused by: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x1c
                                         	at android.content.res.ResourcesImpl.getResourceEntryName(ResourcesImpl.java:305)
                                         	at android.content.res.Resources.getResourceEntryName(Resources.java:2412)
                                         	at io.github.inflationx.calligraphy3.Calligraphy.matchesResourceIdName(Calligraphy.java:94)

also, maybe Calligraphy does not recognize resource ids in app package.

https://developer.android.com/build/releases/gradle-plugin

android.nonTransitiveRClass
AGP 8.0 generates R classes for resources defined in the current module only.

@roumenh
Copy link

roumenh commented Aug 28, 2023

Maybe its already time to migrate to native solution instead of using 4 years old ancient library :)
https://davidmigloz.medium.com/migrating-custom-fonts-from-calligraphy-to-android-fonts-3b635fd945dc

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