Comments (1)
@Kolyall I wish that were possible, unfortunately, fields such as R.styleable.MyView
are of type int[]
, not int
, as such they are not constant values (the content of the array can be changed) and can't be used as an annotation attribute value per Java rules.
However, styleable declarations usually have the same name as their associated view so we could omit the parameter entirely in favor of a naming configuration, see #3.
from paris.
Related Issues (20)
- Issues in AS design inspection with TypedArrayTypedArrayWrapper class
- com.airbnb.paris.proxies.d.<init> (TextViewProxy.kt:-1) HOT 2
- drawableStart with style not applied! HOT 1
- Throws Fatal Exception randomly - not able to figure out the issue
- Applying style for MaterialButton HOT 2
- Support KSP
- custom view with internal do not work well
- Ask for advice on how to set the style in the conditional statement
- Applying background styles for Material Card View not working
- android.content.res.Resources$NotFoundException: Font resource ID #0x104039d could not be retrieved HOT 1
- cannot run the sample project, got `java.lang.IllegalAccessError: class org.jetbrains.kotlin.kapt3.base.KaptContext ` HOT 1
- @Style doesn't work at Function
- Problem with kapt when using with epoxy
- Setting style overrides attributes in XML layout
- android:foregroundTint not working for TextView
- Custom View Attributes: "Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them as annotation attributes"
- TextView paris.extensions.style works on Android 12 but crashed on Android 9 with customized style.
- Unable to build project with version 2.0.2
- Errors building library project with Butterknife + ksp HOT 2
- update ksp to kapt
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paris.