Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

added extra layer to edit is_member status #172

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

EGOR-IND
Copy link

@EGOR-IND EGOR-IND commented Mar 22, 2021

Fixes FINCN-306

WhatsApp.Video.2021-03-23.at.03.21.04.mp4

Added an extra layer to edit is_member status.

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Apply the AndroidStyle.xml style template to your code in Android Studio.

  • Run the unit tests with ./gradlew check to make sure you didn't break anything.

  • If you have multiple commits please combine them into one commit by squashing them.


@OnCheckedChanged(R.id.cb_is_member)
void setIsMemberStatus() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All code looks good but we are supporting upto Android 4.1(API level 16) and this code wont work below Lollipop(API level 22). Wouldn't it lack change listener below Lollipop devices? Can't we have any alternative for lower levels compat version of check box. What do you say @EGOR-IND

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I'm finding a good option for api level less than lollipop. I'll add that patch very soon into this PR😊.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants