Skip to content

Instantly share code, notes, and snippets.

Jameson Williams jamesonwilliams

Block or report user

Report or block jamesonwilliams

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jamesonwilliams /
Last active Feb 28, 2020
Simple DataStore Consumer App

Sample App Consuming Maven Local


package com.amplifyframework.dsconsumer;

import android.os.Bundle;
import android.util.Log;
import android.widget.TextView;
jamesonwilliams /
Last active Jan 30, 2020
OkHttp 4.3.1 didn't find class "org.conscrypt.ConscryptHostnameVerifier" on path

OkHttp 4.3.1 emits log spam on Android, even when using it in trivial way.

Example code:

disposable = Single.fromCallable(() ->
    new OkHttpClient().newCall(new Request.Builder()
jamesonwilliams /
Last active Jan 30, 2020
A timer that can be poked, to reset

Pinwheel Timer

This is named after the Pinwheel toy.

Another reasonable name might be "Resettable Timer."

You can picture spinning it. Before it stops spinning it, you help it to keep going, so that it won't stop.

You can’t perform that action at this time.