Inspectopedia Help

Whitespace in NFC tech lists

Whitespace in NFC tech lists

In a <tech-list>, there can be whitespace around the <tech> elements,but not inside them. This is because the code which reads in the tech list is currently very strict and will include the whitespace as part of the name.

In other words, use <tech>name</tech>, not <tech> name </tech>.

Issue id: NfcTechWhitespace

https://issuetracker.google.com/36988969

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3

Plugin:

Android, 2022.3.1 Beta 2

Last modified: 13 July 2023