You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposed solution: have an ArrayMap that will hold a String key (indicating the "resource id" name) and an Integer value holding the result of View.generateViewId(). The rest of the library can use this data structure to query the safe ids.
We're currently using
String.hashCode()
to parse a string to a int id, but it can produce errors since Ids can't be negative.The text was updated successfully, but these errors were encountered: