I got a spinner called year, which displays years. IN my other file I can set the adapter like year.adapter(adapter) but when I try to set it in another class
year.adapter(adapter)