mail-archives/monodroid/2011-December/008119.html

125 строки
5.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [mono-android] Equivalent of Fragment in 2.0?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Equivalent%20of%20Fragment%20in%202.0%3F&In-Reply-To=COL122-W2970F9A13EDAE214F0AC1AAEAF0%40phx.gbl">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="008089.html">
<LINK REL="Next" HREF="008078.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[mono-android] Equivalent of Fragment in 2.0?</H1>
<B>Benjamin Baldacci</B>
<A HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Equivalent%20of%20Fragment%20in%202.0%3F&In-Reply-To=COL122-W2970F9A13EDAE214F0AC1AAEAF0%40phx.gbl"
TITLE="[mono-android] Equivalent of Fragment in 2.0?">benjamin.baldacci at gmail.com
</A><BR>
<I>Thu Dec 29 03:56:35 EST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="008089.html">[mono-android] Equivalent of Fragment in 2.0?
</A></li>
<LI>Next message: <A HREF="008078.html">[mono-android] UrbanAirship bindings?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8119">[ date ]</a>
<a href="thread.html#8119">[ thread ]</a>
<a href="subject.html#8119">[ subject ]</a>
<a href="author.html#8119">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Thanks for your answer. I found a way to do the &quot;same&quot; thing with the
Inflate method (if I well understood it inject a view in an activity).
It works great for me, if anyone need a sample I could make one.
--
Benjamin Baldacci linkedin &lt;<A HREF="http://www.linkedin.com/in/benjaminbaldacci">http://www.linkedin.com/in/benjaminbaldacci</A>&gt;
Mobile : +33 6 32 45 63 79
On Tue, Dec 27, 2011 at 20:02, Wally McClure
&lt;<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">theevilprogrammer at hotmail.com</A>&gt;wrote:
&gt;<i> Admittedly, I know not of the specifics that I speak. There is a
</I>&gt;<i> fragments compat library that is suppossed to bring some fragment support
</I>&gt;<i> backwards to Android 2.x. That might be helpful once mfa has support for
</I>&gt;<i> 3rd party libraries. Until then, you will need to do some jni coding.
</I>&gt;<i>
</I>&gt;<i> Wally
</I>&gt;<i>
</I>&gt;<i> &gt; Date: Tue, 27 Dec 2011 04:29:48 -0800
</I>&gt;<i> &gt; From: <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">benjamin.baldacci at gmail.com</A>
</I>&gt;<i> &gt; To: <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">monodroid at lists.ximian.com</A>
</I>&gt;<i> &gt; Subject: [mono-android] Equivalent of Fragment in 2.0?
</I>&gt;<i>
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; Hi,
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; I would like to reproduce the Fragment in the 2.0 version of Android.
</I>&gt;<i> Some
</I>&gt;<i> &gt; words to explain why.
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; I would like to create my own controls for my applications like custom
</I>&gt;<i> &gt; buttons (containing image and text formated as I want), custom list with
</I>&gt;<i> &gt; custom item layout.
</I>&gt;<i> &gt; If you know the xaml (wp7/silverlight/wpf) I would like to find the way
</I>&gt;<i> to
</I>&gt;<i> &gt; create datatemplate(item).
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; Maybe is there an other way than fragment, but it is the only thing I
</I>&gt;<i> found
</I>&gt;<i> &gt; &quot;equivalent&quot; to the &quot;datatemplating&quot;.
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; Thanks for your answers,
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; little_bigben
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; --
</I>&gt;<i> &gt; View this message in context:
</I>&gt;<i> <A HREF="http://mono-for-android.1047100.n5.nabble.com/Equivalent-of-Fragment-in-2-0-tp5103046p5103046.html">http://mono-for-android.1047100.n5.nabble.com/Equivalent-of-Fragment-in-2-0-tp5103046p5103046.html</A>
</I>&gt;<i> &gt; Sent from the Mono for Android mailing list archive at Nabble.com.
</I>&gt;<i> &gt; _______________________________________________
</I>&gt;<i> &gt; Monodroid mailing list
</I>&gt;<i> &gt; <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">Monodroid at lists.ximian.com</A>
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; UNSUBSCRIBE INFORMATION:
</I>&gt;<i> &gt; <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">http://lists.ximian.com/mailman/listinfo/monodroid</A>
</I>&gt;<i>
</I>&gt;<i> _______________________________________________
</I>&gt;<i> Monodroid mailing list
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">Monodroid at lists.ximian.com</A>
</I>&gt;<i>
</I>&gt;<i> UNSUBSCRIBE INFORMATION:
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">http://lists.ximian.com/mailman/listinfo/monodroid</A>
</I>&gt;<i>
</I>&gt;<i>
</I>-------------- next part --------------
An HTML attachment was scrubbed...
URL: <A HREF="http://lists.ximian.com/pipermail/monodroid/attachments/20111229/45cb6d1a/attachment.html">http://lists.ximian.com/pipermail/monodroid/attachments/20111229/45cb6d1a/attachment.html</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="008089.html">[mono-android] Equivalent of Fragment in 2.0?
</A></li>
<LI>Next message: <A HREF="008078.html">[mono-android] UrbanAirship bindings?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8119">[ date ]</a>
<a href="thread.html#8119">[ thread ]</a>
<a href="subject.html#8119">[ subject ]</a>
<a href="author.html#8119">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/monodroid">More information about the Monodroid
mailing list</a><br>
</body></html>