Hacker News new | ask | show | jobs
by philippb 4434 days ago
we haven't encountered any problems with lint. Your app will just not compile and tell you whats missing.

The case from the readme is: We were loading view A. Then we looked for R.id.something in view A in a method.

Later we replaced view A with B, but never took out R.id.something that was referring to view A (it was also never used). This never caused problems as view A was still in the resources.

Lint marks view A as unused as no activity is ever loading it. After removing A, R.id.something can not be found anymore and you will get a compile error. It was time to remove that dead reference.