vnorderui / com.venuenext.vnorderui.ui.phonecollection / PhoneNumberCollectionFragment / <init>

<init>

PhoneNumberCollectionFragment(delegate: PhoneNumberCollectionInterface)

This fragment, along with its corresponding ViewModel, handles phone number collection from the user.

It does not handle what is done with the number once it is collected. Instead, it delegates that work. This allows the fragment to be reused for multiple use cases. However, the only use case handled currently is to subscribe to order state notifications via SMS text message from the receipt.

Parameters

delegate - The delegate that will handle the phone number once collected.