Guest User

Untitled

a guest
Mar 21st, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
  2. {
  3. view = inflater.Inflate(Resource.Layout.fragment_conexao, container, false);
  4.  
  5. Task.Run(async () => {
  6. while (true)
  7. {
  8. await Task.Delay(3000).ContinueWith(t => StartAsyncTimedWorkAsync());
  9. }
  10. });
  11.  
  12. return view;
  13. }
  14.  
  15. private async Task StartAsyncTimedWorkAsync()
  16. {
  17. textView.Text = "Nova palavra...";
  18. }
Add Comment
Please, Sign In to add comment