Technical specifications for IAB Europe Transparency and Consent Framework that will help the digital advertising industry interpret and comply with EU rules on data protection and privacy - notably the General Data Protection Regulation (GDPR) that comes into effect on May 25, 2018.
Default value for getting int in mPreferences.getInt() cannot be String, it is compilation error. In your case empty string "". It should be Integer and need to be set to 0.
Default value for getting int in mPreferences.getInt() cannot be String, it is compilation error. In your case empty string "". It should be Integer and need to be set to 0.