Buggy code:
public class Organizer extends BaseActivity implements OnClickListener { private static final String tag = "SimpleCalendarViewActivity" ; private ImageView calendarToJournalButton ; private Button selectedDayMonthYearButton ; private TextView ordersDetails ; private RelativeLayout ordersLayout ; private LinearLayout orderConfirmation ; private ImageButton orderConfirm ; private ImageButton orderCancel ; private ImageButton orderSuggest ; private Button currentMonth ; private Button currentDay ; private ImageView prevMonth ; private ImageView nextMonth ; private GridView calendarView ; private Organizer . GridCellAdapter adapter ; private Calendar _calendar ; private int month ; private int year ; private final DateFormat dateFormatter = new DateFormat ( ) ; private static final String dateTemplate = "MMMM<seq2seq4repair_space>yyyy" ; @ Override public void onCreate ( Bundle savedInstanceState ) { } @ Override protected void onResume ( ) { } OnClickListener orderConfirmationListener = new OnClickListener ( ) { @ Override public void onClick ( View view ) { } } ; public void showConfirmationDialog ( Order order ) { } public void showCancelDialog ( Order order ) { } public void showNotificationDialog ( Bundle data ) { } private void sendConfirmation ( String orderId , String confirmed , String note ) { Uri uri = new Uri . Builder ( ) . encodedPath ( "http:////nas2skupa.com//5do12//confirmOrder.aspx" ) . appendQueryParameter ( "orderId" , orderId ) . appendQueryParameter ( "confirmed" , confirmed ) . appendQueryParameter ( "note" , note ) . build ( ) ; <START_BUG> new HttpRequest ( getApplicationContext ( ) , uri , true ) . setOnHttpResultListener ( new HttpRequest . OnHttpResultListener ( ) { <END_BUG> @ Override public void onHttpResult ( String result ) { adapter . refreshCalendar ( ) ; } } ) ; } private void setGridCellAdapterToDate ( int month , int year ) { } private void updateCalendar ( int month , int year ) { } @ Override public void onClick ( View v ) { } @ Override public void onDestroy ( ) { } public class GridCellAdapter extends BaseAdapter implements OnClickListener { private static final String tag = "GridCellAdapter" ; private final Context _context ; private List < String > list ; private static final int DAY_OFFSET = 2 ; private final String [ ] weekdays = new String [ ] { "Ned" , "Pon" , "Uto" , "Sri" , "Čet" , "Pet" , "Sub" } ; private final String [ ] months = new String [ ] { "Siječanj" , "Veljača" , "Ožujak" , "Travanj" , "Svibanj" , "Lipanj" , "Srpanj" , "Kolovoz" , "Rujan" , "Listopad" , "Studeni" , "Prosinac" } ; private final int [ ] daysOfMonth = new int [ ] { 31 , 28 , 31 , 30 , 31 , 30 , 31 , 31 , 30 , 31 , 30 , 31 } ; private int month ; private int year ; private int daysInMonth ; private int prevMonthDays ; private Calendar currentDate ; private int currentDayOfMonth ; private int currentWeekDay ; private Button gridcell ; private TextView num_events_per_day ; public HashMap < String , ArrayList < Order > > monthOrders = new HashMap < String , ArrayList < Order > > ( ) ; private String selectedDate ; private int selectedOrder = - 1 ; private Runnable updateOrders = new Runnable ( ) { @ Override public void run ( ) { } } ; private Handler updater = new Handler ( ) ; public GridCellAdapter ( Context context , int textViewResourceId , int month , int year ) { } public void setCalendarDate ( int year , int month , int day ) { } public void refreshCalendar ( ) { } private void parseServerResult ( String result ) { } private String getMonthAsString ( int i ) { } private String getWeekDayAsString ( int i ) { } private int getNumberOfDaysOfMonth ( int i ) { } public String getItem ( int position ) { } @ Override public int getCount ( ) { } private void printMonth ( int mm , int yy ) { } @ Override public long getItemId ( int position ) { } @ Override public View getView ( int position , View convertView , ViewGroup parent ) { } @ Override public void onClick ( View view ) { } private void drawDayOrders ( ArrayList < Order > input_orders , int row ) { } public void selectOrder ( Order order ) { } public void showOrdersDialog ( String date , final ArrayList < Order > orders ) { } public int getCurrentDayOfMonth ( ) { } private void setCurrentDayOfMonth ( int currentDayOfMonth ) { } public void setCurrentWeekDay ( int currentWeekDay ) { } public int getCurrentWeekDay ( ) { } } }

Fix:
new HttpRequest ( this , uri , false ) . setOnHttpResultListener ( new HttpRequest . OnHttpResultListener ( ) {