Pass it like a normal argument
In kotlin, use high order function, you can google it
"context" or "activity" are optional types and you can handle null requireContext() and requireActivity() return non null values but if the value would be null, it will launch an exception
Обсуждают сегодня