mirror of
https://github.com/hmalik144/Weather-apps.git
synced 2025-12-10 02:05:20 +00:00
- Minor lint fixes
This commit is contained in:
@@ -39,9 +39,11 @@ class WorldFragment : BaseFragment<WorldViewModel>(R.layout.fragment_add_locatio
|
||||
}
|
||||
}
|
||||
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
override fun onSuccess(data: Any?) {
|
||||
super.onSuccess(data)
|
||||
if (data is List<*>) recyclerAdapter.addCurrent(data as List<WeatherDisplay>)
|
||||
if (data is List<*>)
|
||||
recyclerAdapter.addCurrent(data as List<WeatherDisplay>)
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
|
||||
Reference in New Issue
Block a user