执行方法时显示消息 [英] Dispaly message while executing a method

查看:85
本文介绍了执行方法时显示消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

在我的应用程序中,我读取/解析数据需要花费一些时间.当该过程正在进行时,我想在屏幕上显示一条消息,指示该过程正在进行.我相信自己必须使用Thread,但不要知道如何使用和实现它.调用方法可能会抛出异常.

关于如何完成任务的任何想法/提示.非常感谢您的帮助.

谢谢

Hello,

In my app, I read/parse data that takes some time. While that process is going on I want to display a message on screen indicating the process going on. I beileve I got to use Thread for it, but don't get an idea how to use and implement it.The calling method may throw exception or so.

Any idea/tip on how to achieve the task. Any help is highly appreciated.

Thanks

推荐答案

您可能想看看

这篇关于执行方法时显示消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆