Skip to content

Commit b74286b

Browse files
committed
fix: the code of X2J is not up to time
1 parent c2f1f6d commit b74286b

File tree

1 file changed

+1
-1
lines changed
  • android-x2j/src/main/kotlin/androidx2j

1 file changed

+1
-1
lines changed

android-x2j/src/main/kotlin/androidx2j/X2J.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public final class X2J {
9191
if (sIsLayoutNamesInitialized) {
9292
return;
9393
}
94-
Class<?> cLayout = X2J.class.getClassLoader().loadClass(APPLICATION_ID + ".R2$" + "layout");
94+
Class<?> cLayout = X2J.class.getClassLoader().loadClass(APPLICATION_ID + ".X2J_R$" + "layout");
9595
for (Field field : cLayout.getFields()) {
9696
sLayoutNames.put((int) field.get(null), field.getName());
9797
}

0 commit comments

Comments
 (0)