okta / samples-android

samples-android
https://github.com/okta/samples-android
Apache License 2.0
37 stars 52 forks source link

Try using experimental coreLibraryDesugaringEnabled compile option to support Android API levels 23 and below #43

Closed benwicks closed 3 years ago

sgjesse commented 4 years ago

This will currently not work, see https://issuetracker.google.com/issues/145290053. Maybe if the use of spliterator mentioned in https://issuetracker.google.com/issues/145290053#comment4 is rewritten to a simple loop it could work. Depends on other use of Java 8 library methods.

JayNewstrom commented 3 years ago

Hey @benwicks thanks for the PR! I made a change similar to this and confirmed it worked in #55. Please let me know if I missed something. Thanks!