Android Android Lists and Adapters Updating the Data Model Adding a New Data Model Object

Iris Rifold
Iris Rifold
12,429 Points

I'm having problems with the binding calsses - ActivityMainBinding and ActivityMainBinding Impl

after the change in the packages the app donesn't complier:

error: package Weather does not exist

In the ActivityMainBinding the Weather is in red public abstract void setWeather(@Nullable Weather.Current weather);

and I have no idea how to solve it

Ikuyasu Usui
Ikuyasu Usui
43,200 Points

I figured this out... I changed the name of "Weather" package to "weather", then it works. Maybe Android Studio thinks com.teamtreehouse.stormy.Weather is a classname and tries to find the Weather class?

1 Answer

Iris Rifold
Iris Rifold
12,429 Points

Ye it works if the lower weather