<I need to get list with an argument> private fun ...
# stackoverflow
u
I need to get list with an argument private fun getRadResultList() { safeLet( arguments?.getString("referenceVisitId"), arguments?.getString("facilityId") ) { referenceVisitId, facilityId -> viewModel.getRadResultsWithId(referenceVisitId, facilityId) } } This is my previous code. The number of arguments requested by the function is now one. How do I return the facilityId in getRadResults() private fun getRadResultList() { safeLet( arguments?.getString("facilityId") ) { facilityId...