Category: Android Dev

Android Day 26 ToDoList App

Android Day 26 ToDoList App package com.williamjiamin.supertodolistapp import android.widget.Toast import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.items import androidx.compose.material.Card import androidx.compose.material.FloatingActionButton import…

Android Day 24 Multi-Screen Navigation

Android Day 24 Multi-Screen Navigation In order to use navigation, we need to import some dependency: dependencies { val nav_version = "2.7.7" // Java language implementation implementation("androidx.navigation:navigation-fragment:$nav_version") implementation("androidx.navigation:navigation-ui:$nav_version") // Kotlin…

Android Day 17 How to change and make button have more selection functionality?

Android Day 17 How to change and make button have more selection functionality? package com.williamjiamin.ourowncomposable import android.os.Bundle import android.widget.Toast import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import…