Евгений Колесников il y a 4 ans
Parent
commit
abdd949284
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      articles/weather2.md

+ 1 - 1
articles/weather2.md

@@ -305,7 +305,7 @@ dailyInfoRecyclerView = findViewById(R.id.dailyInfoRecyclerView)
 dailyInfoRecyclerView.layoutManager = LinearLayoutManager(this, RecyclerView.HORIZONTAL, false)
 
 // создаем адаптер
-val weatherAdapter = WeatherAdapter(weatherList, onIconLoad)
+val weatherAdapter = WeatherAdapter(weatherList, this)
 
 // при клике на элемент списка показать подробную информацию (сделайте сами)
 weatherAdapter.setItemClickListener {