apps-android-commons
apps-android-commons copied to clipboard
4664: Moved WelcomeActivity to ViewBinding
Fixes #4664
What changes did you make and why?
- Issue: As per the information provided and work request on the ticket above,
WelcomeActivity.javais currently using Butterknife to to inject views into Android components. - Solution: Hence migration was done by replacing
butterknifewithviewbinding, which is always null safe, type-safe and supports both Java and Kotlin.
Hi @psh , I need little help regarding error showing on WelcomeActivityUnitTest.kt file. Run test step failed due to error on this file, and says below:
I made the changes as it says in these lines, but I kept getting error.
I tried to run other test classes , like AccountUtilUnitTest.kt and it have failes due to same problem -
Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
Refer to the error image below please.

I can see one of your PR #4702 have been merged without any test class file changes. Requesting help to fix/merge this PR
@dbrant Requesting to review this PR
Hi @psh Can you review this PR?