Answer the question
In order to leave comments, you need to log in
What happens in this code snippet?
Answer the question
In order to leave comments, you need to log in
The activity is cast to the OnSeasonSelectedListener type and is actually written to a variable.
But it is not necessary to do this, it is more correct to make the prototype of the onAttach function immediately with the OnSeasonSelectedListener, and not with the Activity.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question