class PhoneNumberCollectionFragment : Fragment, OnClickListener
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.
delegate
- The delegate that will handle the phone number once collected.
<init> |
This fragment, along with its corresponding ViewModel, handles phone number collection from the user. PhoneNumberCollectionFragment(delegate: PhoneNumberCollectionInterface) |
delegate |
The delegate that will handle the phone number once collected. val delegate: PhoneNumberCollectionInterface |
onClick |
fun onClick(v: View?): Unit |
onCreateView |
fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? |
onResume |
fun onResume(): Unit |