Skip to content

Instantly share code, notes, and snippets.

View Nikhil-z's full-sized avatar
🎯
░K░o░t░l░i░n░ ░i░s░ ░a░l░l░ ░a░b░o░u░t░ ░'░f░u░n░'░

Nikhil Nikhil-z

🎯
░K░o░t░l░i░n░ ░i░s░ ░a░l░l░ ░a░b░o░u░t░ ░'░f░u░n░'░
View GitHub Profile
@PurpleBooth
PurpleBooth / README-Template.md
Last active May 3, 2024 18:53
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@Grohden
Grohden / ViewExtensions.kt
Last active May 13, 2022 09:08
My view extensions
package why.android.dont.have.those
import android.graphics.Bitmap
import android.graphics.Canvas
import android.graphics.Color
import android.view.View
import android.view.ViewGroup
import androidx.annotation.ColorRes
import androidx.core.content.ContextCompat
import android.content.Context
import android.net.ConnectivityManager
import android.net.Network
import android.net.NetworkCapabilities
import android.net.NetworkRequest
import android.os.Bundle
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
@Nikhil-z
Nikhil-z / PlayPauseView.java
Created June 1, 2021 09:15 — forked from ozgurg/PlayPauseView.java
Android Animated Play Pause Button by using AnimatedVectorDrawable
public class PlayPauseView extends AppCompatImageView {
public static final int STATE_PLAY = 1;
public static final int STATE_PAUSE = 2;
private AnimatedVectorDrawableCompat mPlayToPauseAnim, mPauseToPlay;
private Animation mFadeOutAnim, mFadeInAnim;
public PlayPauseView(Context context) {
super(context);
Init(context);