@Override public void run() { if (businessListVector != null && businessListVector.size() > 0) { adapter = new BusinessListAdapter(mContext, businessListVector, R.layout.business_list); businesslist.setAdapter(adapter); adapter.dataSet(listPosition); adapter.notifyDataSetChanged(); // clickOnListItem(selectionposition, businesslist); AppConfigManager.saveBusinessNameEIN( mContext, businessListVector.get(listPosition).getOrganizationName(), businessListVector.get(listPosition).getEin()); AppConfigManager.saveBID(mContext, businessListVector.get(listPosition).getBId()); getBusineesListDetails(businessListVector.get(listPosition).getBId()); Log.i("dashboard", "bid : " + AppConfigManager.getBID(mContext)); } }
public View onCreateView( LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // TODO Auto-generated method stub Thread.setDefaultUncaughtExceptionHandler(new UnCaughtException(mContext)); try { BId = AppConfigManager.getBID(mContext); EIN = AppConfigManager.getEIN(mContext); BN = AppConfigManager.getBusinessname(mContext); CommonTaxView = inflater.inflate(R.layout.review, container, false); InputMethodManager in = (InputMethodManager) ((Activity) mContext).getSystemService(Context.INPUT_METHOD_SERVICE); in.hideSoftInputFromWindow( CommonTaxView.getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS); initialization(); onClick(); setTypeFont(); addLeftFragment(); getReviewDetailsById(); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); new SendException(getActivity(), e); } return CommonTaxView; }
public View onCreateView( LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // TODO Auto-generated method stub Thread.setDefaultUncaughtExceptionHandler(new UnCaughtException(mContext)); try { this.RID = AppConfigManager.getReturnRID(mContext); this.BId = AppConfigManager.getBID(mContext); this.EIN = AppConfigManager.getEIN(mContext); this.BN = AppConfigManager.getBusinessname(mContext); if (CommonTaxView == null) { CommonTaxView = inflater.inflate(R.layout.commontaxfragment, container, false); Initialization(); pageRedirection(AppConfigManager.getFlag(mContext)); } return CommonTaxView; } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); new SendException(mContext, e); } return null; }