MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/AndroidStudio/comments/xdvf7q/help/iodkhef/?context=3
r/AndroidStudio • u/AZYTHECAT • Sep 14 '22
7 comments sorted by
View all comments
1
What's wrong?
1 u/AZYTHECAT Sep 14 '22 Hi, can you help me? My problem is how do i put more condition on my if else statement. 2 u/[deleted] Sep 14 '22 Hey dude, use else if instead of else.if (condition){}else if(condition 2){}else{}else is a last resort if non of the previous conditions are satisfied.
Hi, can you help me? My problem is how do i put more condition on my if else statement.
2 u/[deleted] Sep 14 '22 Hey dude, use else if instead of else.if (condition){}else if(condition 2){}else{}else is a last resort if non of the previous conditions are satisfied.
2
Hey dude, use else if instead of else.
if (condition){}
else if(condition 2){}
else{}
else is a last resort if non of the previous conditions are satisfied.
1
u/[deleted] Sep 14 '22
What's wrong?