Skip to content

Instantly share code, notes, and snippets.

@AndroidEntryPoint
class SplashFragment : BaseFragment() {
private lateinit var circle1: Circle
private lateinit var circle2: Circle
private lateinit var logo: ImageView
private lateinit var view: FrameLayout
private lateinit var animatorSet: AnimatorSet
override val viewModel: AuthViewModel by viewModels()
@AndroidEntryPoint
class SearchAddressDialog : BottomSheetDialogFragment() {
private lateinit var binding: ModalSearchAddressBinding
private val viewModel: MyAddressesViewModel by viewModels({ requireParentFragment() })
private val adapter = SearchAddressAdapter()
var onResult: ((searchAddress: GeocoderAddress?) -> Unit)? = null