From 02b78a99c94aff24df06a51657f0ad67e254f857 Mon Sep 17 00:00:00 2001 From: woheller69 Date: Fri, 23 May 2025 06:27:05 +0200 Subject: [PATCH] fix potential rare crash --- .../woheller69/weather/ui/RecycleList/CityWeatherAdapter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/woheller69/weather/ui/RecycleList/CityWeatherAdapter.java b/app/src/main/java/org/woheller69/weather/ui/RecycleList/CityWeatherAdapter.java index e4229ea..49610e2 100644 --- a/app/src/main/java/org/woheller69/weather/ui/RecycleList/CityWeatherAdapter.java +++ b/app/src/main/java/org/woheller69/weather/ui/RecycleList/CityWeatherAdapter.java @@ -311,6 +311,7 @@ public class CityWeatherAdapter extends RecyclerView.Adapter weekforecasts = database.getWeekForecastsByCityId(generalDataList.getCity_id()); long time = weekforecasts.get(position).getForecastTime(); //time of clicked week item