Need a bit of assistance [closed]

A very basic example of a Thread:

Thread thread = new Thread(
    public void run(){
        // Do stuff here
    }
).start();

Everything inside the body of run() will be executed separately from the UI thread.

Leave a Comment