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; }