Re: [android-developers] Error in a Spinner

2012-06-19 Thread Mark Murphy
You cannot pass null as the first parameter of an ArrayAdapter constructor. Please pass a valid Context, such as your Activity instance. On Tue, Jun 19, 2012 at 4:28 PM, OXRL wrote: > Hello..,  I have a problem  try to load a Spinner depending on the selection > of another. > This is the error th

[android-developers] Error in a Spinner

2012-06-19 Thread OXRL
Hello.., I have a problem try to load a Spinner depending on the selection of another. This is the error that I can not solve ---> The constructor ArrayAdapter (new AdapterView.OnItemSelectedListener () {}, int, String []) is undefined The red part of the code is where the error is generated