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 =…
Youtuber @CodeWithWilliamJiamin's Website
Technical Blog Index
Start with a track, then drill into tags.
Core Topics
Popular Tags
• 1 min read
// // ContentView.swift // Mini-SwiftUI-Project-Alert // // Created by WilliamJiamin on 2024/6/18. // import SwiftUI struct ContentView: View { @State private var isShowingAlert =…
• 1 min read
// // DataListView.swift // ScrollableCardView // // Created by WilliamJiamin on 2024/7/2. // import SwiftUI struct DataListView: View { // let dateFormatter: DateFormatter =…
• 5 min read
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…
• 4 min read
Android Day 25 How to pass data from one screen to another screen? We need to modify alot of thing, just be patient: package…
• 3 min read
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…
• 2 min read
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…
• 3 min read
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,…
• 4 min read
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…
• 4 min read
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…
• 5 min read
Android Day 19 How to collapse the dropdown menu? Let's cut the chase : We are going to use state variable to control it.…
• 4 min read
Android Day 18 Why somethings I can't click anywhere else when the dropdown menu is working and why the input textfield won't show anything…
• 4 min read
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…