I tried to put context in my static method as below :
public class Menu_SPPAJ extends Activity {
public static void onRefreshList() {
model.requery();
list_terbaru.setAdapter(new Adapter_Spaj_Terbaru(Menu_SPPAJ.this,model));
}
}
but Menu_SPPAJ.this
is undefined in static method, is there anyway how to call my context in static method?