Open in app

Sign In

Write

Sign In

Jimmy Liu
Jimmy Liu

174 Followers

Home

Lists

About

Published in Kuo’s Funhouse

·Mar 11, 2022

Android Thread 101 (Part II) — Lifecycle of a Thread?

For anyone who don’t know what a Thread is, please feel free to take a look at Part I of Thread 101 series. Android Thread 101 (Part I)— What is a Thread ? I am writing this article to help myself and others to get a better understanding of thread in Android.medium.com In Part II, we will be focusing on the Lifecycle of a Thread. Here are the topics that will be covered: Thread’s Lifecycle Non-Runnable

Threads

14 min read

Android Thread 101 (Part II) — Lifecycle of a Thread?
Android Thread 101 (Part II) — Lifecycle of a Thread?
Threads

14 min read


Published in Kuo’s Funhouse

·Mar 11, 2022

Android Thread 101 (Part I)— What is a Thread ?

I am writing this article to help myself and others to get a better understanding of thread in Android. Here are some of the topics that will be covered in this article. Table of Content What is a Thread ? Why do we need Thread ? How to create Thread ? Thread and…

Android

6 min read

Android Thread 101 (Part I)— What is a Thread ?
Android Thread 101 (Part I)— What is a Thread ?
Android

6 min read


Published in Kuo’s Funhouse

·Dec 17, 2021

泛型基礎 (一) — Java 與 Kotlin 的變型

參數多型 (Parametric Polymorphism)是一種將類型參數化進而讓程式設計更為彈性的編程概念。 這便是大家所熟知的 Generic (泛型)。 泛型 泛型是 1975年 在 ML (Meta Language) 中推出的程式編寫風格。 泛性的主要特色就是型別 (類型與介面) 的參數化 (Parameterized)。 經由參數化的型別,我 …

Generics

16 min read

泛型基礎 (一) —  Java 與 Kotlin 的變型
泛型基礎 (一) —  Java 與 Kotlin 的變型
Generics

16 min read


Published in Kuo’s Funhouse

·Dec 17, 2021

泛型基礎 (二) — Java 與 Kotlin 的變型點與 Wildcard 的使用

在介紹泛型與變型時,我有提到在 Java 與 Kotlin 中他們是如何被定義與使用。這篇我們來談談在 Java 與 Kotlin 中定義變型的時機吧。 如果還不知道什麼事變型 (Variance) 的,歡迎參考泛型基礎的第一篇。 泛型基礎 (一) — Java 與 Kotlin 的變型 參數多型 (Parametric Polymorphism)是一種將類型參數化進而讓程式設計更為彈性的編程概念。 這便是大家所熟知的 Generic (泛型)。medium.com 繼 Java 與 Kotlin 在定義泛型與變型的文章,我們知道他們在如何定義上有所差異: List <T> // J …

Java

12 min read

Java

12 min read


Published in Kuo’s Funhouse

·Dec 17, 2021

泛型基礎 (三) — Java 與 Kotlin 向下相容、Type Erasure 和 Reifiable

Java 5 推出泛型後要如何做到向下相容呢? 大家會看這篇應該已經了解何謂泛型和變型,以及 Java 與 Kotlin 之間實作泛型的不同吧~ 若還不懂,那就可以看看這兩篇喔 ~ 泛型基礎 (一) — Java 與 Kotlin 的變型 參數多型 (Parametric Polymorphism)是一種將類型參數化進而讓程式設計更為彈性的編程概念。 這便是大家所熟知的 Generic (泛型)。medium.com 泛型基礎 (二) — Java 與 Kotlin 的變型點與 Wildcard 的使用 在介紹泛型與變型時,我有提到在 Java 與 Kotlin 中他們是如何被定義與使用。這篇我們來談談在 Java 與 Kotlin 中定義變型的時機吧。medium.com 在第一篇有提到,在還沒有泛型前,Java 只能用 raw type 來建立物件: List list = new ArrayList(); // raw type

Generics

13 min read

泛型基礎 (三) — Java 與 Kotlin 向下相容、Type Erasure 和 Riefiable
泛型基礎 (三) — Java 與 Kotlin 向下相容、Type Erasure 和 Riefiable
Generics

13 min read


Apr 18, 2020

Kotlin 101: Collections Class (I)

Array vs Iterable — In Kotlin, the Collections Related Class includes : Array Iterable Map Sequence Iterator So what are their differences ? I will spend approximately 2–3 articles on this topic, but in this article, I want to focus on the most asked questions for beginners. 1. What are the differences between Array…

Kotlin

6 min read

Kotlin 101: Collections Class (I)
Kotlin 101: Collections Class (I)
Kotlin

6 min read


Oct 29, 2019

Journey with Kotlin 002.5 : Ways to create OnClickListener

Apparently, there are 4 ways in total — In Journey with Kotlin 002, we talked about how to create a button and how to set an OnClickListener for it. Today, I want to show you other ways to create an OnClickListener. The button we want to apply the OnClickListener is called rollButton . As mentioned in Journey with…

Android

4 min read

Journey with Kotlin 002.5 : Ways to create OnClickListener
Journey with Kotlin 002.5 : Ways to create OnClickListener
Android

4 min read


Oct 29, 2019

Journey with Kotlin 002 — Dice Roller

Understand how Activity works — In this article, I want to talk about how Activity works while building a simply Dice Roller app, that generates a random number between 1…6 whenever the button is pressed. To begin, let’s set up an app with Empty Activity called Dice Roller. Next, we are going to take a…

Android

12 min read

Journey with Kotlin 002 — Dice Roller
Journey with Kotlin 002 — Dice Roller
Android

12 min read


Oct 24, 2019

Journey with Kotlin 001 — Hello World

An introduction to Android Studio — This article assumed that you have successfully installed Android Studio and is ready to create your very first app, the classic Hello World. Without any ado, let’s get started. Creating a Project Opening Android Studio When you first open Android Studio, you will be prompted to select what you want to do :

Android

10 min read

Journey with Kotlin 001 — Hello World
Journey with Kotlin 001 — Hello World
Android

10 min read


Published in Kuo’s Funhouse

·Oct 18, 2019

SwiftUI : Brief Introduction to Button

Button in SwiftUI is … very interesting — Button A Button is a control that performs an action when triggered. Although the definition for a button is very straight forward, it is a whole other story when examining its initialize methods …

Swift

6 min read

SwiftUI : Brief Introduction to Button
SwiftUI : Brief Introduction to Button
Swift

6 min read

Jimmy Liu

Jimmy Liu

174 Followers

App Developer who enjoy learning from the ground up.

Following
  • Marvin Lin

    Marvin Lin

  • The PyCoach

    The PyCoach

  • Joe T. Santhanavanich

    Joe T. Santhanavanich

  • Maxi Rosson

    Maxi Rosson

  • Entreprogrammer

    Entreprogrammer

See all (941)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech