private void onProfileChanged(MobileLedgerProfile profile) {
boolean haveProfile = profile != null;
findViewById(R.id.no_profiles_layout).setVisibility(haveProfile ? View.GONE : View.VISIBLE);
private void onProfileChanged(MobileLedgerProfile profile) {
boolean haveProfile = profile != null;
findViewById(R.id.no_profiles_layout).setVisibility(haveProfile ? View.GONE : View.VISIBLE);