This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package manager | |
import android.content.Context | |
import android.net.ConnectivityManager | |
import android.net.Network | |
import android.net.NetworkCapabilities | |
import android.net.NetworkRequest | |
import android.os.Build | |
import android.util.Log | |
import com.jakewharton.rxrelay2.BehaviorRelay |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#################################################### | |
# # | |
# DO NOT TRY ON A WINDOWS MACHINE # | |
# (nothing happens if you try, it just won't work) # | |
#################################################### | |
# This script edits commit message and attaches story number to commit message. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.view.MotionEvent; | |
import android.view.View; | |
import android.view.animation.OvershootInterpolator; | |
public class BottomSheetDragDownListener implements View.OnTouchListener { | |
private static final float INTERPOLATOR_FACTOR = 0.5f; | |
private float dY, startScrollY, viewY; | |
@Override |