mail-archives/monodroid/2012-November/012959.html

113 строки
5.0 KiB
HTML
Исходник Постоянная ссылка Обычный вид История

2019-06-06 22:06:39 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE> [mono-android] Updating textview from a thread
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:monodroid%40lists.ximian.com?Subject=Re%3A%20%5Bmono-android%5D%20Updating%20textview%20from%20a%20thread&In-Reply-To=%3CCAC30OvgF0t0aGnjotZ2soiU1JdJA-dX6M6ykg%3D7GK9OZTOW6fA%40mail.gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<style type="text/css">
pre {
white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
}
</style>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="012945.html">
<LINK REL="Next" HREF="012946.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[mono-android] Updating textview from a thread</H1>
<B>Sayed Arian Kooshesh</B>
<A HREF="mailto:monodroid%40lists.ximian.com?Subject=Re%3A%20%5Bmono-android%5D%20Updating%20textview%20from%20a%20thread&In-Reply-To=%3CCAC30OvgF0t0aGnjotZ2soiU1JdJA-dX6M6ykg%3D7GK9OZTOW6fA%40mail.gmail.com%3E"
TITLE="[mono-android] Updating textview from a thread">kooshesh at gmail.com
</A><BR>
<I>Sat Nov 24 10:30:29 UTC 2012</I>
<P><UL>
<LI>Previous message: <A HREF="012945.html">[mono-android] Updating textview from a thread
</A></li>
<LI>Next message: <A HREF="012946.html">[mono-android] Updating textview from a thread
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#12959">[ date ]</a>
<a href="thread.html#12959">[ thread ]</a>
<a href="subject.html#12959">[ subject ]</a>
<a href="author.html#12959">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>there are two ways,
you can create a handler on your oncreate, then pass a runnable to it.
There is also some function, I can't remember it's name, that is like
sendtoui that will post it on the ui thread for you.
On Sat, Nov 24, 2012 at 4:18 AM, JM_SH &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">juanmanuelsanchezh at gmail.com</A>&gt; wrote:
&gt;<i> Hi all again,
</I>&gt;<i> I keep on my training over mono and I have a new issue.
</I>&gt;<i> I need to update the text within a textview from a thread.
</I>&gt;<i> In .net I woul do a delegate, and i woul use the Invoke method, but here i
</I>&gt;<i> can&#180;t use that way, i have been looking but I did&#180;t get the way.
</I>&gt;<i> Can anyone help me.
</I>&gt;<i> Thanks in advace,
</I>&gt;<i> Juan.
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> --
</I>&gt;<i> View this message in context:
</I>&gt;<i> <A HREF="http://mono-for-android.1047100.n5.nabble.com/Updating-textview-from-a-thread-tp5712478.html">http://mono-for-android.1047100.n5.nabble.com/Updating-textview-from-a-thread-tp5712478.html</A>
</I>&gt;<i> Sent from the Mono for Android mailing list archive at Nabble.com.
</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>
--
Extreme Knowledge is not something for which he programs a computer but for
which his computer is programming him.
-Wozniak
- if my programming advice has helped you, feel free to donate to :
&lt;<A HREF="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=KYUXV2PG88YQQ">https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=KYUXV2PG88YQQ</A>&gt;
&lt;<A HREF="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=KYUXV2PG88YQQ">https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=KYUXV2PG88YQQ</A>&gt;
&lt;<A HREF="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=KYUXV2PG88YQQ">https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=KYUXV2PG88YQQ</A>&gt;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;<A HREF="http://lists.ximian.com/pipermail/monodroid/attachments/20121124/5ef20146/attachment.html">http://lists.ximian.com/pipermail/monodroid/attachments/20121124/5ef20146/attachment.html</A>&gt;
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="012945.html">[mono-android] Updating textview from a thread
</A></li>
<LI>Next message: <A HREF="012946.html">[mono-android] Updating textview from a thread
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#12959">[ date ]</a>
<a href="thread.html#12959">[ thread ]</a>
<a href="subject.html#12959">[ subject ]</a>
<a href="author.html#12959">[ 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>