Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void Display_Bikes(Map Bikes){
- Log.v("Bikes", Bikes.toString());
- /*
- V/Bikes﹕ {2={id=52, picture=0, bought_date=2014-08-01, bike_id=21861, mileage=0, hours=0, name=YZ450F, pictures=, user_id=34, year=2013, cost=8000}, 1={id=51, picture=140, bought_date=2014-07-28, bike_id=21130, mileage=0, hours=0, name=Yamaha WR450F 2013, pictures=, user_id=34, year=2013, cost=0}, 0={id=53, picture=0, bought_date=2014-08-01, bike_id=18310, mileage=0, hours=0, name=MX 300, pictures=, user_id=34, year=2011, cost=0}}
- */
- if(!Bikes.isEmpty()){
- for (Object o : Bikes.entrySet()) {
- Map.Entry Bike = (Map.Entry) o;
- Log.v("Bike", Bike.getValue().toString());
- /*
- V/Bike﹕ {id=52, picture=0, bought_date=2014-08-01, bike_id=21861, mileage=0, hours=0, name=YZ450F, pictures=, user_id=34, year=2013, cost=8000}
- V/Bike﹕ {id=51, picture=140, bought_date=2014-07-28, bike_id=21130, mileage=0, hours=0, name=Yamaha WR450F 2013, pictures=, user_id=34, year=2013, cost=0}
- V/Bike﹕ {id=53, picture=0, bought_date=2014-08-01, bike_id=18310, mileage=0, hours=0, name=MX 300, pictures=, user_id=34, year=2011, cost=0}
- */
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement