All Downloads are FREE. Search and download functionalities are using the official Maven repository.

android.os.Looper Maven / Gradle / Ivy

package android.os;

import javax.swing.*;

public class Looper {
    private static final Looper main = new Looper();

    public static Looper getMainLooper() {
        return main;
    }

    public static Looper myLooper() {
        return SwingUtilities.isEventDispatchThread() ? main : new Looper();
    }

    static void prepare() {

    }

    static void loop() {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy