[android-developers] Re: ListView Issue

2011-05-30 Thread Nikola Gotsev
Another way is to have Custom List Item and Custom List adapters more info here - http://www.softwarepassion.com/android-series-custom-listview-items-and-adapters/ Hope it helped. Regards, Nikola Gotsev -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: ListView Issue

2011-05-26 Thread Senthil ACS
Agree with Treking.. Hint: Use layoutinflater On May 26, 2:28 am, TreKing treking...@gmail.com wrote: On Tue, May 24, 2011 at 1:18 PM, bhima santosh santosh.bh...@gmail.comwrote: I want to have a listview with each row having a button,textview and image. Can anyone tell how to go abt it

Re: [android-developers] Re: ListView Issue

2011-05-26 Thread Hikmat Khan
Dear I have the same problem to On Thu, May 26, 2011 at 1:01 AM, Senthil ACS acs@gmail.com wrote: Agree with Treking.. Hint: Use layoutinflater On May 26, 2:28 am, TreKing treking...@gmail.com wrote: On Tue, May 24, 2011 at 1:18 PM, bhima santosh santosh.bh...@gmail.com wrote:

Re: [android-developers] Re: ListView Issue

2011-05-26 Thread Nguyen Dat
Dear Bhima, Try following example: http://android.amberfog.com/?p=296 Notice that: convertView = mInflater.inflate(R.layout.item1, null); R.layout.item1 is layout of row item, so you can create whatever layout you want. Best Regards, DatNQ On Thu, May 26, 2011 at 8:58 PM, Hikmat Khan

Re: [android-developers] Re: ListView Issue

2011-05-26 Thread Neri Martinez
read that, it use a xml inflator, it will help you http://www.androiddom.com/2011/02/android-shopping-cart-tutorial.html 2011/5/26 Hikmat Khan dliswa.andr...@gmail.com Dear I have the same problem to On Thu, May 26, 2011 at 1:01 AM, Senthil ACS acs@gmail.com wrote: Agree with

Re: [android-developers] Re: ListView Issue

2011-05-26 Thread m.haythem rouis
Use LayoutInflater inside the method ListView.setAdapter(); View ListItm = mInflater.inflate(R.layout.itm_layout, null); where *itm_layout *is an xml layout file contatining your button, text view and image. After that you can use method ListItm.findViewById(R.id.button); 2011/5/26 Neri

[android-developers] Re: ListView issue

2010-01-15 Thread Kumar Bibek
Hi Manoj, ListView is designed in such a way that it doesn't create holders for views that are not visible. The correct way to access the data is to use the Adapter which you would have bound to the list view. The adapter depending on your implementation would hold all the data which is not

[android-developers] Re: ListView issue- getchildat()

2009-02-23 Thread Mark Murphy
Anonymous Anonymous wrote: Thanks Romain,But is there anyway i can set for those items which are outside the screen? or while scrolling down or something? Override getView() in your adapter and do whatever you want to the row Views as they are created. -- Mark Murphy (a Commons Guy)

[android-developers] Re: ListView issue- getchildat()

2009-02-22 Thread Anonymous Anonymous
Thanks Romain,But is there anyway i can set for those items which are outside the screen? or while scrolling down or something? On Mon, Feb 23, 2009 at 10:57 AM, Romain Guy romain...@google.com wrote: This is working correctly. ListView contains only the number of views needed to fill the

[android-developers] Re: ListView Issue in Notepad Application

2008-10-16 Thread JavaAndroid
Thanks Peli, For ur valuable response. I tried with that too but it was not working the problem is protected void onListItemClick(ListView l, View v, int position, long _id) this rowId value _id in onListItemClick remains on 0 for all records, hence the value which we set in Intent remains

[android-developers] Re: ListView Issue in Notepad Application

2008-10-14 Thread JavaAndroid
Hi All, I could trouble shoot my issue. I could insert a new record and delete an existing one..But while editing and updating i m getting rowId as 0. it simply displays 0 for all records... i feel we are setting the rowId to intent in this method.. protected void onListItemClick(ListView l,

[android-developers] Re: ListView Issue in Notepad Application

2008-10-13 Thread Peli
The answer is in the last post here: http://groups.google.com/group/android-beginners/browse_thread/thread/affc088e8843feb5 Since there can be several emulators open at a time, you also have to open the devices list, and click on your emulator to activate the logcat output. Peli On Oct 13,

[android-developers] Re: ListView Issue in Notepad Application

2008-10-13 Thread JavaAndroid
Peli Thanks a million for your timely help. Logcat was really helpful in identifying the issue, and i got my application working.thanks again JavaAndroid On Oct 13, 6:15 pm, Peli [EMAIL PROTECTED] wrote: The answer is in the last post