MYSTERY ZILLION တွင် English သို့မဟုတ် Unicode ဖြင့်သာ အသုံးပြုခွင့်ရှိသည်။ ဇော်ဂျီ ၊ ဧရာ စသည်တို့ကို အသုံးပြုခွင့် မရှိ။ Unicode fonts များမှာ Mon3,Yunghkio, Myanamr3 စသည်များ အသုံးပြုနိုင်သည်။ Unicode Guide ကို ဒီမှာ Download ချပါ။ Zawgyi to Unicode Converter
Don't share ebook or software if nobody request. You can find free book websites on here. We are welcome for discussion or asking question instead.

How to combine to get single row in HashMap?

I want to combine multi order item rows to get single row. Like this {440059=1, Champagne,, 440055=5, Noodle,, 440057=2, Salad Soup,} When I Log, it show more than 1 row.
{440059=1,Champagne,}
{440055=5,Noodle,}
{440057=2,Salad Soup,}

List carts = db.getAllCarts();
for (Cart cart : carts) {
Map<String, String> order = new HashMap<>();
order.put(cart.getItemCode(), cart.getQty() + "," + cart.getDescription() + ",");

Log.d("ord", String.valueOf(order));
}

Tagged:
Sign In or Register to comment.