[android-developers] Re: Array Adapter Problem

2011-07-08 Thread Jaswant
hey he is using a String variable not String array? that's the problem and nothing else -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] Re: Array Adapter Problem

2011-07-08 Thread Shafali Gupta
Please check whether your items variable has some value or not. On Jul 6, 4:20 pm, Teodor Ciuraru wrote: >   I have a problem when trying to move the content of the EditText in > the Spinner using that ArrayAdapter, I really don't know what to do, > please have a look: > public void onCreate(Bund

[android-developers] Re: Array Adapter Problem

2011-07-07 Thread Jaswant
Adapter always accept a String array or a List not just "String" . So your String items=--- must be like String[] items={ m_addItemText.getText().toString()}; Enjoy and never forget to say '*Jai Hind*'. -- You received this message because you are subscribed to the Google Groups "Android

Re: [android-developers] Re: Array Adapter

2010-12-01 Thread TreKing
On Wed, Dec 1, 2010 at 12:19 PM, kiros88 wrote: > I had a question im not sure about whats the argument "View convertView" > for the middle? is taht suppose to be a default view or iono? > To add to what Prakash has said: this is a pre-existing view from your list that is no longer used so inste

Re: [android-developers] Re: Array Adapter

2010-12-01 Thread Prakash Iyer
what do you mean by default view? that method is supposed to return a View which is used to render the list item. the default implementation, whose source i recommend you read, returns back a TextView the id (you can pass a more complex view which has a TextView element etc. all of which is documen

Re: [android-developers] Re: Array Adapter

2010-12-01 Thread Kostya Vasilyev
This has to do with "list item view recycling". http://android-er.blogspot.com/2010/06/using-convertview-in-getview-to-make.html -- Kostya 01.12.2010 21:19, kiros88 пишет: So basically on the function getView. I had a question im not sure about whats the argument "View convertView" for the mid

[android-developers] Re: Array Adapter

2010-12-01 Thread kiros88
So basically on the function getView. I had a question im not sure about whats the argument "View convertView" for the middle? is taht suppose to be a default view or iono? On Nov 30, 9:01 pm, TreKing wrote: > On Mon, Nov 29, 2010 at 12:48 PM, kiros88 wrote: > > Im assuming the array adapter or