Published
- 1 min read
getIntExtra(java.lang.String, int)` in `android.content.Intent` cannot be applied to `(java.lang.String)`
The solution for this is noted below
getIntExtra(java.lang.String, int)in
android.content.Intentcannot be applied to
(java.lang.String)`
Solution
// it requires DEFAULT_VALUE
getIntExtra("name", DEFAULT_VALUE)
Try other methods by searching on the site. That is if this doesn’t work