Code affected should function and perform exactly as before
No issues fixed or introduced
No new features introduced
A bug in older Android SDKs prevented us from using method references to refer to Bundle member functions. In particular Bundle::getBoolean could not be referenced which prevented us from using a generic factory function that receives these method references.
Now that this issue has been fixed in newer compileSdk, this PR aims to improve code readability while maintaining functionality.
A Rebase and Merge is recommended when accepting this pull request to keep git history neat.
Reduce duplicate code by using property factory
A bug in older Android SDKs prevented us from using method references to refer to Bundle member functions. In particular
Bundle::getBoolean
could not be referenced which prevented us from using a generic factory function that receives these method references.Now that this issue has been fixed in newer
compileSdk
, this PR aims to improve code readability while maintaining functionality.A Rebase and Merge is recommended when accepting this pull request to keep git history neat.