Skip to content

Commit

Permalink
Update master
Browse files Browse the repository at this point in the history
  • Loading branch information
ianfhunter committed Jun 10, 2012
1 parent 8edcb50 commit 702d54b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/com/examples/android/calendar/CalendarAdapter.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ public CalendarAdapter(Context c, Calendar monthCalendar) {
}

public void setItems(ArrayList<String> items) {
for(int i = 0;i != items.size();i++){
if(items.get(i).length()==1) {
items.set(i, "0" + items.get(i));
}
}
this.items = items;
}

Expand Down

0 comments on commit 702d54b

Please sign in to comment.