Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.

Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.

Android Support Libraries

When a cool new feature is released on Android, it usually isn’t backwards compatible, but Google’s suite of support libraries allow you to implement a wide range of newer features on older devices. The libraries are ever changing, and it can be difficult to keep up with new features, and changes to older features.

In this talk we’ll take a look at the libraries available to you, and some of the more powerful components you can use from them. We’ll also take a dive into important feature updates which are commonly missed, with examples on how to update your app. Leverage the support libraries wisely, and have a modern and efficient app, even on older devices!

94.
ArraySet
@KellyShuster
★ previously only available in API 23+
★ now in v4 lib as of 25.1.0

95.
ArraySet
@KellyShuster
★ previously only available in API 23+
★ now in v4 lib as of 25.1.0
★ more efficient than traditional HashSet

96.
ArraySet
@KellyShuster
★ previously only available in API 23+
★ now in v4 lib as of 25.1.0
★ more efficient than traditional HashSet
★ similar to ArrayMap, but contains only 1 item
per entry

97.
ArraySet
@KellyShuster
★ previously only available in API 23+
★ now in v4 Lib as of 25.1.0
★ more efficient than traditional HashSet
★ similar to ArrayMap, but contains only 1 item
per entry
★ not for large items (slower than HashSet)
○ hundreds of items == OK

98.
ArraySet
@KellyShuster
★ previously only available in API 23+
★ now in v4 Lib as of 25.1.0
★ more efficient than traditional HashSet
★ similar to ArrayMap, but contains only 1 item
per entry
★ not for large items (slower than HashSet)
○ hundreds of items == OK
★ shrinks as items are removed
○ you have no control over shrinking