I've seen similar issues but the consensus seems to be this works now. But in my experience, it doesn't. Multiple violations reported by ktlint, even after reformatting the whole project from Android ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results