Я хочу чтобы данные через API показалисьв TextView , однако там пусто , укажи что необходимо исправить :package com.example.myapp_2;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class ForecastResponse {
    @SerializedName("list")
    private List<WeatherForecast> weatherForecastList;

    public List<WeatherForecast> getWeatherForecastList() {
        return weatherForecastList;
    }
}

package com.example.myapp_2;

import com.google.gson.annotations.SerializedName;

public class Hourly {

    @SerializedName("dt")
    private long dt;

    @SerializedName("temp")
    private double temp; // температура в градусах Цельсия
// также вы можете добавить другие поля для описания данных, получаемых от сервера

    public long getDt() {
        return dt;
    }

    public double getTemp() {
        return temp;
    }

// также вы можете добавить сеттеры для установки значений полям
}
package com.example.myapp_2;

import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;

public class RetrofitClient {
    private static Retrofit retrofit;
    private static final String BASE_URL ="https://api.openweathermap.org/data/3.0/";

    public static Retrofit getRetrofitInstance() {
        if (retrofit == null) {
            retrofit = new retrofit2.Retrofit.Builder()
                    .baseUrl(BASE_URL)
                    .addConverterFactory(GsonConverterFactory.create())
                    .build();
        }
        return retrofit;
    }
}

package com.example.myapp_2;

import com.google.gson.annotations.SerializedName;

public class Temperature {
    @SerializedName("temp")
    private float temperatureValue;

    public float getTemperatureValue() {
        return temperatureValue;
    }
}
package com.example.myapp_2;

import com.google.gson.annotations.SerializedName;

public class WeatherForecast {
    @SerializedName("dt_txt")
    private String date;

    @SerializedName("main")
    private Temperature temperature;

    public String getDate() {
        return date;
    }

    public Temperature getTemperature() {
        return temperature;
    }
}

package com.example.myapp_2;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import androidx.fragment.app.Fragment;

import java.util.List;

import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;

public class WeatherFragment extends Fragment {
    private TextView temperatureTv;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_weather, container, false);
        temperatureTv = view.findViewById(R.id.temperature_tv);
        WeatherOneCallService weatherService = RetrofitClient.getRetrofitInstance()
                .create(WeatherOneCallService.class);

        Call<WeatherResponse> call = weatherService.getCurrentWeather(55.7522200, 37.6155600, "hourly,minutely", "f612b4254c6b2c263b9eae0a5d8d0043");

        call.enqueue(new Callback<WeatherResponse>() {
            @Override
            public void onResponse(Call<WeatherResponse> call, Response<WeatherResponse> response) {
                if (response.code() == 200) {
                    WeatherResponse weatherResponse = response.body();
                    List<Hourly> hourlyList = weatherResponse.getHourly();

// преобразование данных в строку и установка текста в TextView
                    StringBuilder builder = new StringBuilder();
                    for (Hourly hourly : hourlyList) {
                        builder.append(hourly.getDt()).append(": ").append(hourly.getTemp()).append("\n");
                    }
                    temperatureTv.setText(builder.toString());
                }
            }

            @Override
            public void onFailure(Call<WeatherResponse> call, Throwable t) {
                t.printStackTrace();
            }
        });
        return view;
    }
}package com.example.myapp_2;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface WeatherOneCallService {

    @GET("onecall")
    Call<WeatherResponse> getCurrentWeather(
            @Query("lat") double lat,
            @Query("lon") double lon,
            @Query("exclude") String exclude,
            @Query("appid") String apiKey
    );
}package com.example.myapp_2;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class WeatherResponse {
    @SerializedName("name")
    private String cityName;

    @SerializedName("main")
    private Temperature temperature;

    public String getCityName() {
        return cityName;
    }

    public Temperature getTemperature() {
        return temperature;
    }

    @SerializedName("hourly")
    private List<Hourly> hourlyList;

    public List<Hourly> getHourly() {
        return hourlyList;
    }
}


package com.example.myapp_2;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface WeatherService {
    @GET("weather")
    Call<WeatherResponse> getCurrentWeather(
            @Query("q") String cityName,
            @Query("appid") String apiKey
    );

    @POST("forecast")
    Call<ForecastResponse> getWeatherForecast(
            @Query("q") String cityName,
            @Query("appid") String apiKey
    );
}
  weatherBtn = v.findViewById(R.id.weather_btn);

        weatherBtn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
// запустить WeatherFragment
                FragmentTransaction transaction = getParentFragmentManager().beginTransaction();
                transaction.replace(R.id.nav_container, new WeatherFragment());
                transaction.addToBackStack(null);
                transaction.commit();
            }
        });