Re: [android-developers] Re: Using an image in a listview

2010-01-07 Thread Patrick Plaatje
a way to prefill the listview and don;t reuse anything? Regards, Patrick 2010/1/6 Patrick Plaatje pplaa...@gmail.com: Hi Brion, if this arraylist would be a rather big list, it would be costly indeed, and it is a good suggestion. This list consists of just 10 items (feedmessage objects) though

[android-developers] Using an image in a listview

2010-01-06 Thread Patrick Plaatje
Hi all, for my app i'm using a listview to display rss news articles. All goes well, and the implementation is almost done. But when using my app, i'm not really satisfied with the smoothness and user experience of it. The main problem is that when i scroll through the listview, which contains an

Re: [android-developers] Re: Using an image in a listview

2010-01-06 Thread Patrick Plaatje
with such techniques, here: http://www.youtube.com/watch?v=QZ8PoS6ai6U On Jan 6, 8:18 am, Patrick Plaatje patrick.plaa...@ndcvbk.nl wrote: Hi all, for my app i'm using a listview to display rss news articles. All goes well, and the implementation is almost done. But when using my app, i'm not really

Re: [android-developers] Re: Using an image in a listview

2010-01-06 Thread Patrick Plaatje
...@gmail.com: What does your getView code look like. Are re-inflating your row view every time it's called, are there multiple views for the rows etc? Vince On Jan 6, 10:18 am, Patrick Plaatje patrick.plaa...@ndcvbk.nl wrote: Hi all, for my app i'm using a listview to display rss news articles

Re: [android-developers] Re: Using an image in a listview

2010-01-06 Thread Patrick Plaatje
(fm.getTitle ()));                holder.descriptionText.setText(Html.fromHtml (fm.getDescription())); On Jan 6, 12:57 pm, Patrick Plaatje pplaa...@gmail.com wrote: Hi, i've used the holder method, but adding or omitting this didn;t give me an increase or decrease in performance, my getView

[android-developers] strings.xml resource

2009-12-21 Thread Patrick Plaatje
Hi All, i was wondering if i could put extra attributes in a strings.xml resource. I need more metadata for the value in this resource and it seems to me that if i could read those extra attributes from the static R reference, it saves me resources over implementing an xml reader. So what i

[android-developers] Display numeric entities (eg. #35;) in TextView or WebView

2009-12-21 Thread Patrick Plaatje
Hi All, i'm trying to process text which i'm receiving from a RSS feed. In this feed all special characters are defined as numeric entities. When i try to display these texts in a Text- or WebView, it stops displaying anything after encountering the numeric entity. Any thoughts? Regards,

Re: [android-developers] Re: button Click event inside custom listview.... Help!

2009-12-21 Thread Patrick Plaatje
at http://groups.google.com/group/android-developers?hl=en -- Met vriendelijke groet, Patrick Plaatje NDC|VBK de uitgevers Sixmastraat 32, 8915 PA Leeuwarden Postbus 394, 8901 BD Leeuwarden T (058) - 284 5044 M (06) - 158 966 34 -- You received this message because you are subscribed

[android-developers] Re: button Click event inside custom listview.... Help!

2009-12-21 Thread Patrick Plaatje
My Apologies, i didn;t see the complete message thread earlier (thanx Gmail!). I hope my post did help you though. If not, reply again and i'll see if i can help. Regards, Patrick -- Forwarded message -- From: Patrick Plaatje pplaa...@gmail.com Date: 2009/12/21 Subject: Re

Re: [android-developers] Re: button Click event inside custom listview.... Help!

2009-12-21 Thread Patrick Plaatje
); //set icon for row with name Abhi } .. and so on for other rows } } Thanks, Abhishek On Dec 21, 4:31 pm, Patrick Plaatje pplaa...@gmail.com wrote: My Apologies, i didn;t see the complete message

Re: [android-developers] ViewFlipper.showNext() not working in timer

2009-12-19 Thread Patrick Plaatje
Hi, Be aware that the timer uses a new thread, so you need a handle to communicate with the UI thread. Regards, Patrick -- verzonden vanaf mijn Android. Op 19 dec 2009 10:52 PM schreef Andy Triboletti andy.tribole...@gmail.com : I have some

[android-developers] Listview problems

2009-12-14 Thread Patrick Plaatje
Hi All, Struggling and struggling, but can't find the thing i'm doin wrong in my listview implementation. No exceptions, just no listview. I have a customized adapter with an overridden getView method, but the Log.d won't show, so i guess my adapter is just wrong? Could somebody have a look at

Re: [android-developers] Listview problems

2009-12-14 Thread Patrick Plaatje
(what as far as i know means it's visible) Any more thoughts? Patrick 2009/12/14 Mark Murphy mmur...@commonsware.com Patrick Plaatje wrote: Hi All, Struggling and struggling, but can't find the thing i'm doin wrong in my listview implementation. No exceptions, just no listview. I

Re: [android-developers] Listview problems

2009-12-14 Thread Patrick Plaatje
settings etc)? I'm really clueless. Regards, Patrick 2009/12/14 Mark Murphy mmur...@commonsware.com Patrick Plaatje wrote: thanx for your amazing fast reply. All your remarks are very valid, but i might have oversimplified my code: Sorry, I took the code listings at face value. Your last

Re: [android-developers] Listview problems

2009-12-14 Thread Patrick Plaatje
! Patrick 2009/12/14 Mark Murphy mmur...@commonsware.com Patrick Plaatje wrote: Hi Mark, the hierarchy viewer helped me in identifying the ListView and it's 10 children. I can see the children here, but they just do not display in the emulator. Are there any settings i can check? I

Re: [android-developers] Listview problems

2009-12-14 Thread Patrick Plaatje
are loaded when they are within the view port. Is this correct behaviour, because i am experiencing NPE's when i scroll (and a new view is in the listview). Regards, Patrick 2009/12/14 Mark Murphy mmur...@commonsware.com Patrick Plaatje wrote: Hi Mark, the hierarchy viewer helped me

Re: [android-developers] Listview problems

2009-12-14 Thread Patrick Plaatje
Hi Mark, thanks a lot. I am indeed using the Holder pattern, and it looks like the Holder object is set to null when the initial listview is loaded. btw. the excerpt helped a lot! Regs, Patrick 2009/12/14 Mark Murphy mmur...@commonsware.com Patrick Plaatje wrote: What i'm currently

[android-developers] List view with textviews and imageview, best practices

2009-12-10 Thread Patrick Plaatje
Hi All, i'm developing an application which has an listview. I'm currently creating the list item view dynamically from code (linearlayout, which includes 2 textviews and 1 imageview), but i'd like to use an XML resource for this. I read it isresource intensive when getting this view using

[android-developers] Execute method when background task exceeds timespan

2009-12-03 Thread Patrick Plaatje
); alc.setVisibility(View.VISIBLE); } } -- Regards, Patrick Plaatje -- 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] Nested Table layout not showing

2009-11-25 Thread Patrick Plaatje
Hi all, in my view i have the need to a somewhat different layout. It needs to display a table within each row a cell for a thumbnail and a cell for displaying a title and a description. The title and description should be displayed on top of eachother, so something like:

Re: [android-developers] Re: Nested Table layout not showing

2009-11-25 Thread Patrick Plaatje
example - http://developer.android.com/guide/topics/ui/layout-objects.html#tablelayout On Nov 25, 1:00 am, Patrick Plaatje pplaa...@gmail.com wrote: Hi all, in my view i have the need to a somewhat different layout. It needs to display a table within each row a cell for a thumbnail