Skip to content

Instantly share code, notes, and snippets.

View Debdutta-Panda's full-sized avatar

Debdutta Panda Debdutta-Panda

View GitHub Profile
@Debdutta-Panda
Debdutta-Panda / MainActivity.kt
Created June 2, 2022 17:09
Basic Navigation
package com.debduttapanda.powernavigation
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.*
import androidx.compose.runtime.Composable
@Debdutta-Panda
Debdutta-Panda / project_level_build_gradle
Last active June 2, 2022 16:41
Android Jetpack Compose Version Upgrade
buildscript {
ext {
compose_version = '1.1.1'
}
}// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.2.1' apply false
id 'com.android.library' version '7.2.1' apply false
id 'org.jetbrains.kotlin.android' version '1.6.10' apply false
}
@Debdutta-Panda
Debdutta-Panda / module_level_build.gradle
Created June 2, 2022 16:26
Dependency for Android Jetpack Compose Navigation
implementation "androidx.navigation:navigation-compose:2.4.2"