Answer the question
In order to leave comments, you need to log in
How to understand entry in JAVA code?
Good!
A simple question, explain such an abbreviated notation
public void showResult(View v) {
String result = "Товары в корзине:";
for (Product p : boxAdapter.getBox()) { //вот эта строка//
if (p.box)
result += "\n" + p.name;
}
Toast.makeText(this, result, Toast.LENGTH_LONG).show();
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question