Skip to content

Use Core KTX functions.

Description

Use functions included in the Jetpack Core KTX library, such as bundleOf() and ContextCompat.getSystemService().

Motivation and Context

These changes allow APIs introduced in newer versions of Android to be used while maintaining backward compatibility, and reduce the complexity of the code.

How Has This Been Tested?

Screenshots / GIFs (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Enhancement (non-breaking change which cleans up / improves existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the CONTRIBUTING section of the README document.

Resolves

Edited by Isira Seneviratne

Merge request reports