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
We decided it's best to force the user to explicitly use the specific data type, because the runtime will sometimes be unable to figure out what conversion to make.
Example:
method put of android.content.ContentValues takes parameters float and double. In this case the user has to specify what overload he wants to use.
byte -> java.lang.Byte
short -> java.lang.Short
int -> java.lang.Integer
long -> java.lang.Long
float -> java.lang.Float
double -> java.lang.Double
Module team found this issue in the following example:
Workaround: for example long -> java.lang.Long.valueOf(...)
The text was updated successfully, but these errors were encountered: