Android Naming Convention for getter method of boolean data type variable -
Android Naming Convention for getter method of boolean data type variable -
getter method name
private boolean mislast;
is
public boolean isislast() { homecoming mislast;
}
or
public boolean islast() { homecoming mislast;
}
?
should utilize isislast() or islast()?
islast
preferable isislast
if dealing boolean values. not naming convention repeat first syllables of method.
android naming-conventions
Comments
Post a Comment