in my code i'm sending string parameter to the string.xml using this
String.format(getString(R.string.notification_devil_expire_coupon_for_one_user), "iphone", String.valueOf(loggedInUser.getExpiryReminder()));
in string.xml im using this to get the parameter
<string name="notification_devil_expire_coupon_for_one_user">Do you even shop, bro? Your <xliff:g id="retailer">%s1</xliff:g> coupon expires in <xliff:g id="endDate">%s2</xliff:g> days.</string>
expected output
Do you even shop, bro? Your iphone coupon expires in 3 days.
but my output is
Do you even shop, bro? Your iphone1 coupon expires in 32 days.
parameter number is added in the string. i dont know where i'm doing wrong in the code