use of de.schildbach.wallet.WalletApplication in project bitcoin-wallet by bitcoin-wallet.
the class EditAddressBookEntryFragment method onAttach.
@Override
public void onAttach(final Context context) {
super.onAttach(context);
this.activity = (AbstractWalletActivity) context;
final WalletApplication application = activity.getWalletApplication();
this.wallet = application.getWallet();
this.contentResolver = activity.getContentResolver();
}
use of de.schildbach.wallet.WalletApplication in project bitcoin-wallet by bitcoin-wallet.
the class SendingAddressesFragment method onAttach.
@Override
public void onAttach(final Context context) {
super.onAttach(context);
this.activity = (AbstractWalletActivity) context;
final WalletApplication application = activity.getWalletApplication();
this.wallet = application.getWallet();
this.clipboardManager = (ClipboardManager) activity.getSystemService(Context.CLIPBOARD_SERVICE);
this.loaderManager = getLoaderManager();
}
Aggregations