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

android.os.Looper Maven / Gradle / Ivy

Go to download

The Firebase Java SDK is a pure java port of the Firebase Android SDK to run in clientside java environments such as the desktop.

The newest version!
package android.os;

import javax.swing.*;

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

    public Thread getThread() {
        return Thread.currentThread();
    }

    public static Looper getMainLooper() {
        return main;
    }

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

    static void prepare() {

    }

    static void loop() {

    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy