My Android Studio is giving me errors like:private method init was never used how do I fix this?

If you create a method or a variable and don’t use it anywhere, you are going to take this warning (Is not an error, is a warning message)

For example (Same with methods):

int a = 0;
inb b = 1; //This variable is never used and cause a warning

Browse More Popular Posts

Leave a Comment