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
@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);
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
@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
@PurpleBooth
PurpleBooth / README-Template.md
Last active June 30, 2025 10:35
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