Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

android studio new thread

Ganz404 answered on March 4, 2023 Popularity 5/10 Helpfulness 4/10

Contents


More Related Answers

  • java create new thread
  • thread example in android
  • android do from main thread

  • android studio new thread

    0

    In order to create runnable "object" just do the following:

    If you want some delayed action, you can work with post delayed in runnable interface (beware, postDelayed() would just repeat the whole runnable. You can avoid that, by adding some conditions)

    If you want to update GUI, you should invoke following command inside your runnable: 

    Popularity 5/10 Helpfulness 4/10 Language java
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Mar 04 2023
    Ganz404
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.