Skip to content

Instantly share code, notes, and snippets.

View saifikram969's full-sized avatar
🎯
Focusing

Saif ikram saifikram969

🎯
Focusing
View GitHub Profile
@edufelip
edufelip / run_ios.sh
Last active January 28, 2026 05:12
KMP - Run iOS
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
PROJECT_ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)
SCHEME="${SCHEME:-iosApp}"
PROJECT_PATH="${PROJECT_PATH:-$PROJECT_ROOT/iosApp/iosApp.xcodeproj}"
DERIVED_DATA="${DERIVED_DATA:-$PROJECT_ROOT/build/derived}"
CONFIGURATION="${CONFIGURATION:-Debug}"
APP_NAME="${APP_NAME:-iosApp}"
@saifikram969
saifikram969 / Parallax.kt
Created August 9, 2025 01:18 — forked from ardakazanci/Parallax.kt
Jetpack Compose Parallax Concept
@Composable
fun Modifier.parallaxHeader(
listState: LazyListState,
headerHeightDp: Dp,
maxStretchFactor: Float = 3.0f,
pullMultiplier: Float = 1.5f,
onHeightChanged: (Dp) -> Unit
): Modifier {
val density = LocalDensity.current
val coroutineScope = rememberCoroutineScope()
@ChathuraHettiarachchi
ChathuraHettiarachchi / MotionLayoutTry.kt
Last active April 22, 2025 16:58
This is a sample implementation of AirBnB search bar transition on Android usin Jetpack Compose MotionLayout, MotionScene with DSL. You need to replace the images on `destinations` to work this. FInd the video link https://twitter.com/i/status/1778640663086829622
package com.chootadev.composetryout
import androidx.annotation.DrawableRes
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.animation.core.keyframes
import androidx.compose.animation.core.tween
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable