Skip to content

Latest commit

 

History

History
15 lines (6 loc) · 647 Bytes

README.md

File metadata and controls

15 lines (6 loc) · 647 Bytes

Lint-Sample

This is a lint check on the parts that our team or I often make mistakes in writing code.

Lint Rules

  • LifecycleOwnerDetector - If DataBinding and LiveData are used together, make sure to put the LifecycleOwner.
  • ViewIdDetector - Detect if id naming in the view complies with certain rules.

You can see examples in MainActivity.kt and activity_main.xml.