-
Notifications
You must be signed in to change notification settings - Fork 2
Hotfix/api manager fix #57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…et-co/android into hotfix/api-manager-fix
|
🚀👀👀 |
josikie
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks! @andhikayuana
I have some questions, I'm curious
| private static final long SYNC_PERIOD = TimeUnit.HOURS.toMillis(24); | ||
| private static SyncProgressTask syncTask; | ||
| public boolean running; | ||
| public volatile boolean running; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does it get name volatile?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in short, the change is immediately visible to other threads.
https://www.w3schools.com/java/ref_keyword_volatile.asp
| @Before | ||
| fun setUp() { | ||
| apiManager = spyk(APIManager(remoteConfigSource), recordPrivateCalls = true) | ||
| apiManager = spyk(BRApiManager(remoteConfigSource), recordPrivateCalls = true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is Spyke function, and how does it work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did some googling...but you can take a look at this @josikie :
https://www.naukri.com/code360/library/mock-vs-stub-vs-spy
kcw-grunt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok for currrent users but there is a critical issue so that second PIN entry doesnt doesnt dimiss the view
Please see:
|
sure, will check it later |
kcw-grunt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM @andhikayuana
thank you! |




Overview
Issue