[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 Deve

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 Martin

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 > Dear I have the same problem to > > > > On Thu, May 26, 2011 at 1:01 AM, Senthil ACS wrote: > >> Agree with Treking.. >> >> Hint: Use layoutinflater >

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 wrote:

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 wrote: > Agree with Treking.. > > Hint: Use layoutinflater > > On May 26, 2:28 am, TreKing wrote: > > On Tue, May 24, 2011 at 1:18 PM, bhima santosh >wrote: > > > > > I want to have a listview with each row having a

[android-developers] Re: ListView Issue

2011-05-26 Thread Senthil ACS
Agree with Treking.. Hint: Use layoutinflater On May 26, 2:28 am, TreKing wrote: > On Tue, May 24, 2011 at 1:18 PM, bhima santosh wrote: > > > I want to have a listview with each row having a button,textview and image. > > Can anyone tell how to go abt it > > Step 1 would be "Read the documentat

[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 visibl

[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) http:

[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 wrote: > > This is working correctly. ListView contains only the number of views > needed to fill the screen. Therefore you

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

2009-02-22 Thread Romain Guy
This is working correctly. ListView contains only the number of views needed to fill the screen. Therefore you cannot access the views outside of the screen since they do not exist. On Sun, Feb 22, 2009 at 9:16 PM, Anonymous Anonymous wrote: > Hi All, > > I m having problem in setting soem item

[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 t

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

2008-10-14 Thread Peli
In EmployeeEdit.onCreate() you set mRowId = null; Peli On Oct 14, 7:15 pm, JavaAndroid <[EMAIL PROTECTED]> wrote: > 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 fo

[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, View

[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 > here:http://groups.google.com/group/android-beginn

[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, 10

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

2008-10-13 Thread JavaAndroid
Hi Peli, Thanks for ur Valuable response. I m not aware of this logcat tab in eclipse. Is that present in any Window?? Thanks JavaAndroid On Oct 13, 12:42 pm, Peli <[EMAIL PROTECTED]> wrote: > You have to use logcat to see the debugging statements. > > Either from Eclipse open the logcat tab an

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

2008-10-13 Thread Peli
You have to use logcat to see the debugging statements. Either from Eclipse open the logcat tab and choose the device from the devices list. Or in a shell enter "adb logcat". Peli www.openintents.org On Oct 13, 2:49 am, JavaAndroid <[EMAIL PROTECTED]> wrote: > Hi All, > I m a novice in Google A