[mono-android] Image Button on Custom List

Jeff Lindborg jlindborg2000 at gmail.com
Sun Jan 15 18:48:00 UTC 2012


I had to solve a similar issue as well as provide a typical
“descripition with detail” type list presentation with pictures on the
left/right or a button to the right – so I sat down and made a few
layouts and a couple generic classes that I use in several projects
I’m working on for various list presentation needs.  Short version is
you can create lists using a generic “cell data” class you fill in
with the title/description/image/events for click, long click, button
click etc… which makes it reasonably easy to create several different
list styles (which I have to do often).

Anyway, I don’t have a GitHub account so I just zipped up a simplified
example of how I went about it and popped it on my web site here:
http://www.ciscounitytools.com/CodeSamples/MonoForAndroid/ListSample/ListSamples.htm

might be what you’re looking for…
-Jeff


On Fri, Jan 13, 2012 at 6:36 AM, Fencer04 [via Mono for Android]
<ml-node+s1047100n5142704h74 at n5.nabble.com> wrote:
> For some reason my post wasn't sent to the mailing list so I'm going to send
> it again. Sorry if some of you have already seen it. I don't know why it
> wasn't sent out the first time.
>
> ----
>
> I want to create a custom list similar to the one created here:
> http://redth.info/2010/10/12/monodroid-custom-listadapter-for-your-listview
>
> I want to have an image button on the right side that would have it's own
> click event that is separate from the ListViews click event, is that
> possible?
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://mono-for-android.1047100.n5.nabble.com/Image-Button-on-Custom-List-tp5140507p5142704.html
> To start a new topic under Mono for Android, email
> ml-node+s1047100n4298622h32 at n5.nabble.com
> To unsubscribe from Mono for Android, click here.
> NAML


--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Image-Button-on-Custom-List-tp5140507p5146920.html
Sent from the Mono for Android mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120115/274af5d4/attachment-0001.html>


More information about the Monodroid mailing list