Skip to content

Instantly share code, notes, and snippets.

View dharamveer-gupta's full-sized avatar
🛕
Each line of code has the potential to change someone's life, Code purposefully.

Dharamveer Gupta dharamveer-gupta

🛕
Each line of code has the potential to change someone's life, Code purposefully.
View GitHub Profile
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.animation.core.Animatable
import androidx.compose.animation.core.Spring
import androidx.compose.animation.core.VectorConverter
import androidx.compose.animation.core.spring
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.gestures.awaitFirstDown
import androidx.compose.foundation.gestures.forEachGesture
@dharamveer-gupta
dharamveer-gupta / LiveDataTestUtil.kt
Created September 23, 2023 05:22
Gets the value of a [LiveData] or waits for it to have one, with a timeout.
/*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@dharamveer-gupta
dharamveer-gupta / windows-keys.md
Created August 16, 2025 19:52 — forked from rvrsh3ll/windows-keys.md
Windows Product Keys

NOTE

These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.

Index

@dharamveer-gupta
dharamveer-gupta / component_support_cmp.md
Last active February 18, 2026 16:16
Comprehensive breakdown of component support in Compose Multiplatform (CMP).

Breakdown of component support in Compose Multiplatform (CMP)

Symbol Meaning
Fully Supported (Common Code). No platform-specific code needed.
⚠️ Supported with Caveats. Experimental or slight behavior differences.
🚧 Work in Progress / Beta. Available but may be unstable (e.g., Wasm).
🛠️ Requires Interop / 3rd Party. No official common component exists yet.

1. Material 3 Components (UI Elements)