How to make a random Colour Grid App? PART 1
// // ColourGeneratorAppApp.swift // ColourGeneratorApp // // Created by WilliamJiamin on 2024/6/19. // import SwiftUI @main struct ColourGeneratorAppApp: App { var body: some Scene…
How to add Alert to your ios App? Part 2
// // ContentView.swift // Mini-SwiftUI-Project-Alert // // Created by WilliamJiamin on 2024/6/18. // import SwiftUI struct ContentView: View { @State private var isShowingAlert =…
How to add Alert to your ios App? Part 1
// // ContentView.swift // Mini-SwiftUI-Project-Alert // // Created by WilliamJiamin on 2024/6/18. // import SwiftUI struct ContentView: View { @State private var isShowingAlert =…
How to make a Date and Time List view in swiftUI?
// // DataListView.swift // ScrollableCardView // // Created by WilliamJiamin on 2024/7/2. // import SwiftUI struct DataListView: View { // let dateFormatter: DateFormatter =…
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…
Android Day 25 How to pass data from one screen to another screen?
Android Day 25 How to pass data from one screen to another screen? We need to modify alot of thing, just be patient: package…
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…
Android Day 23 MVVM model Intro
Android Day 23 MVVM model Intro MVVM(Model-View-ViewModel) 1.Model: Data and Logic of the App. 2.ViewModel:Handle the logic of Updating the Data.Handle the exposure of…
Android Day 21 Let’s show our items in the List
Android Day 21 Let's show our items in the List I use an empty lambda expression and a new composible for this, don't worry,…
Android Day 22 Let’s add edit and save functionality to our Contact App
Android Day 22 Let's add edit and save functionality to our Contact App I first seperate the dialog to a seperate composible, so we…
Android Day 20 Let’s create a more complex layout logic ! A contact App Mock!
Android Day 20 Let's create a more complex layout logic ! A contact App Mock! Let's make a contact app mock. It will have…