Advertisement
TobNil

Untitled

May 29th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.30 KB | None | 0 0
  1.         while(result.moveToNext()){
  2.             StringBuffer stringBuffer = new StringBuffer();
  3.             stringBuffer.append("Id: " + result.getString(0) + " ");
  4.             stringBuffer.append("Name: " + result.getString(1) + "\n");
  5.             fridgeItems.add(stringBuffer.toString());
  6.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement