Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/xamarin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Loops 如何在Xamarin.forms中创建循环后台服务_Loops_Xamarin_Xamarin.forms_Background Service_Backgrounding - Fatal编程技术网

Loops 如何在Xamarin.forms中创建循环后台服务

Loops 如何在Xamarin.forms中创建循环后台服务,loops,xamarin,xamarin.forms,background-service,backgrounding,Loops,Xamarin,Xamarin.forms,Background Service,Backgrounding,我想创建一个后台服务,总是在Xamarin.Forms中运行并循环一个函数,特别是在Android中。首先,我尝试了使用计时器和意图服务的服务,但没有成功。请帮助我:(您可以使用。它有一个非常简单的API,并且在其repo中有很多示例。@Dat,根据您的描述,如果您只想在后台服务中循环一个函数,我建议您可以在后台服务中调用一个无限循环函数。下面是关于创建服务的内容:重试,下载Reactive.Core和这个Nuget d关闭应用程序时无法工作

我想创建一个后台服务,总是在Xamarin.Forms中运行并循环一个函数,特别是在Android中。首先,我尝试了使用计时器和意图服务的服务,但没有成功。请帮助我:(

您可以使用。它有一个非常简单的API,并且在其repo中有很多示例。

@Dat,根据您的描述,如果您只想在后台服务中循环一个函数,我建议您可以在后台服务中调用一个无限循环函数。下面是关于创建服务的内容:重试,下载Reactive.Core和这个Nuget d关闭应用程序时无法工作