Skip to content

Commit

Permalink
Add JvmOverloads to allow launching activity without options in Java
Browse files Browse the repository at this point in the history
  • Loading branch information
tonidero committed Oct 9, 2023
1 parent 5968c44 commit 6826ef7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class PaywallActivityLauncher {
* Launch the paywall activity.
* @param offering The offering to be shown in the paywall. If null, the current offering will be shown.
*/
@JvmOverloads
fun launch(offering: Offering? = null) {
activityResultLauncher.launch(PaywallActivityArgs(offeringId = offering?.identifier))
}
Expand Down

0 comments on commit 6826ef7

Please sign in to comment.