-
Notifications
You must be signed in to change notification settings - Fork 36
style: change and apply spotless with indentation 4 spaces #64
Conversation
totalLayout.setVisibility(View.VISIBLE); | ||
flag = 0; | ||
Toast.makeText( | ||
getBaseContext(), getString(R.string.delete_donated), Toast.LENGTH_LONG) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like too much indentation. I think 2 space indentation is good enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those has to be in same line. I guess that is the reason it is giving that big indentation.
Else everything is fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I saw other changes too. I thought that 4 tabs are too much. According to me, 2 are enough.
radioGroup = (RadioGroup) findViewById(R.id.radiogroup); | ||
|
||
radioGroup.setOnCheckedChangeListener( | ||
new RadioGroup.OnCheckedChangeListener() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For instance here. 4 tabs are too much. 2 are enough.
private EditText uid1ET; | ||
|
||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yashk2000 suppose if you see here 2 space indentation doesn't look good
@immadisairaj yes. I viewed it in andorid studio. There is looks better 👍 |
47e661f
to
f054de6
Compare
Fixed #63
Changes:
Changed the spotless style in gradle
applied spotless
removed unnecessary typecasting
made xml files in proper format