@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); try { CryptoBrokerWalletModuleManager moduleManager = ((CryptoBrokerWalletSession) appSession).getModuleManager(); walletManager = moduleManager.getCryptoBrokerWallet(appSession.getAppPublicKey()); errorManager = appSession.getErrorManager(); identities = getMoreDataAsync(FermatRefreshTypes.NEW, 0); } catch (FermatException ex) { Log.e(TAG, ex.getMessage(), ex); } }
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); try { moduleManager = ((CryptoBrokerWalletSession) appSession).getModuleManager(); walletManager = moduleManager.getCryptoBrokerWallet(appSession.getAppPublicKey()); errorManager = appSession.getErrorManager(); } catch (Exception ex) { CommonLogger.exception(TAG, ex.getMessage(), ex); if (errorManager != null) errorManager.reportUnexpectedWalletException( Wallets.CBP_CRYPTO_BROKER_WALLET, UnexpectedWalletExceptionSeverity.DISABLES_THIS_FRAGMENT, ex); } openNegotiationList = getMoreDataAsync(FermatRefreshTypes.NEW, 0); }