Answers for "suspicious argument type for formatting argument"

0

suspicious argument type for formatting argument

Are you using R.string.x values as getString() latter parameters?
Example: getString(R.string.placeholder, R.string.x, R.string.y);

Use it in this manner:
getString(R.string.placeholder, getString(R.string.x), getString(R.string.y));
Posted by: Guest on May-16-2021

Browse Popular Code Answers by Language