[Android] Only the original thread that created a view hierarchy can touch its views.

runOnUiThread(new Runnable() {

    @Override
    public void run() {

        // Stuff that updates the UI

    }
});

[docker] unix://localhost:80: Permission denied

Mar 12, 2019 6:46:17 AM com.spotify.docker.client.shaded.org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.io.IOException) caught when processing request to {}->unix://localhost:80: Permission denied

sudo chmod 777 /var/run/docker.sock

[Android] row is skewed when ListView with different layouts

implements these methods


getViewTypeCount()

getItemViewType(int position)