From: Damyan Ivanov Date: Fri, 11 Jan 2019 19:30:10 +0000 (+0000) Subject: one more lambda X-Git-Tag: v0.3~70 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=47bec46796bec48131fc010c21d7727555dba5ea;p=mobile-ledger.git one more lambda --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileListActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileListActivity.java index 85554bf5..5b43b8ed 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileListActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileListActivity.java @@ -211,9 +211,7 @@ public class ProfileListActivity extends AppCompatActivity { MobileLedgerProfile profile = (MobileLedgerProfile) holder.itemView.getTag(); if (profile != null) Data.setCurrentProfile(profile); }); - View.OnClickListener profileSelector = v -> { - holder.mRadioView.setChecked(true); - }; + View.OnClickListener profileSelector = v -> holder.mRadioView.setChecked(true); holder.mTitle.setOnClickListener(profileSelector); holder.mSubTitle.setOnClickListener(profileSelector); Data.profile.addObserver((o, arg) -> {