@Override protected void onCreate(Bundle savedInstanceState) { // Init parse super.onCreate(savedInstanceState); mApplication = (ApplicationManager) getApplicationContext(); myIntent = getIntent(); myClassName = "BillsActivity"; overridePendingTransition(R.anim.anim_in, R.anim.anim_out); setContentView(R.layout.activity_bills); layout = (LinearLayout) findViewById(R.id.bills_billContainer_button); billContainers = new ArrayList<BootstrapButton>(); billIDs = new ArrayList<String>(); billDescriptions = new HashMap<BootstrapButton, HomeBaseAlert>(); startCalled = true; selectedFilter = (BootstrapButton) findViewById(R.id.bills_allFilter_button); selectedFilter.setEnabled(false); mApplication.parse.getAlerts(this, "Bill"); inflateProgressBar(); layout.addView(loadingProgress); }
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_final_quote_esp); mIntent = getIntent(); String product = mIntent.getStringExtra(Products.KEY_NAME_SORT_QUOTE); setActionBarTitle(product); }
@Override protected void onResume() { super.onResume(); if (startCalled) { startCalled = false; return; } mApplication.parse.refreshAlerts(this, "Bill"); }