Feature module

The addresses feature module includes all the presentation logic required to display the addresses screen. If you need to include this module, add it to your build.gradle:

implementation ("com.poqstudio:checkout.addresses:$VERSION_NAME")

Architecture

The general architecture of the addresses screen
The general architecture of the addresses screen

  • AddressesActivity is the entry point to the addresses feature.
  • AddressesFragment is the main fragment for the addresses screen.
  • AddressesFragmentDelegate is the fragment delegate for the addresses screen.
  • AddressesScreen is the main composable for the addresses screen.
  • AddressesViewModel is the ViewModel for the addresses.
  • SaveAddressFragmentis the main fragment for the save address screen.
  • SaveAddressFragmentDelegate is the fragment delegate for the save address screen.
  • SaveAddressScreen is the main composable for the save address screen.
  • SaveAddressViewModel is the ViewModel for the save address.
  • SaveAddressFormDefault is the default address form.
  • SaveAddressFormUK is the address form for UK.
  • SaveAddressFormUS is the address form for US.
  • BaseSaveAddressForm is a reusable Composable to create new specific country forms.