Is there an option in android studio to leave one-line method when reformatting code ? For example, for a simple getter, i prefer this style of coding:
public int getPosition() {return mPosition;}
But, when i reformat the code, this method is changed like this:
public int getPosition() {
return mPosition;
}
Finally, I've found the solution.
And it just go fine!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With