Lin icon indicating copy to clipboard operation
Lin copied to clipboard

Lin is an Android Lint tool made simple

Results 10 Lin issues
Sort by recently updated
recently updated
newest added

**Describe the solution you'd like** I'd like to include the possibility to suggest changes when an issue is reported. **Additional context** I'm aware some IDEs (AS or IntelliJ) will use...

enhancement

Retrofit endpoint definition is really easy and that is why it is so commonly used ```java @GET("group/{id}/users") Call groupList(@Path("id") int groupId); ``` However, when declaring the URL within the annotation...

rule

Add support to create rules matching XML files. Ideally we should be able to combine them with regular code rules so that we can make new detectors such as "make...

enhancement

All intents keys that are used in `putExtra` methods should be have at least one use inside a `getX` method.

rule

Something like two views having the same constraint: `app:layout_constraintStart_toStartOf="@id/transactionTypeIconView"` is a smell because you can make the second view attached to the first one and leave a single constraint, creating...

rule

People often call views like their ids

rule

There might be cases where this doesn't apply (frameworks or even `anko`) but anyways 🤷‍♂️

rule

`RecyclerView` properties must be initialized with an `Adapter` and a `LayoutManager`

rule

* `vectorDrawables.useSupportLibrary = true` if `minSdkVersion < 21` * Use `app:srcCompat` in `ImageView`

rule