Skip to content
  • Private Policy
  • Contact
Huong Dan Kotlin
  • English
  • Tiếng Việt
  • Kotlin
  • Android
  • Tool
    • Gradle
  • Design Patterns

Design Pattern

Dependency Inversion Principle in Design Pattern

Dependency Inversion Principle in Design Pattern

July 14, 2023 – by Khanh Nguyen 0

The Dependency Inversion Principle is a coding principle that by definition, high-level modules should not depend on low-level modules, they should only depend on abstraction and the interface should not depend on implementation but vice versa. It will be a…

Interface Segregation Principle in Design Pattern

Interface Segregation Principle in Design Pattern

May 7, 2023 – by Khanh Nguyen 0

Interface Segregation Principle is a principle that you need to remember when defining interfaces so that they are as small as possible but still ensure to cover all the needs that we want. Avoid the fact that another class implements…

Open-Closed Principle in Design Pattern

Open-Closed Principle in Design Pattern

April 10, 2023 – by Khanh Nguyen 0

Open-Closed Principle is a coding principle where our code will be Open for Extension but Closed for Modification. This means we will not modify the existing code that might break its correctness but we will add new code to extend…

Liskov Substitution Principle in Design Pattern

Liskov Substitution Principle in Design Pattern

December 20, 2022 – by Khanh Nguyen 0

Liskov Substitution Principle is the principle that when we extend a class, we must ensure the correctness of that class. An example that you often see when learning about this principle is that a rectangle must be a rectangle, the…

Single Responsibility Principle in Design Pattern

Single Responsibility Principle in Design Pattern

December 4, 2022 – by Khanh Nguyen 0

The Single Responsibility Principle is the first of the five SOLID principles for object-oriented design that makes the classes we write easy to understand and maintain. For this principle, when defining a class, we define it only with a single…

Last updated

  • Dependency Inversion Principle in Design Pattern ( October 6, 2023)
  • Introduction to coroutine in Kotlin ( May 14, 2023)
  • Interface Segregation Principle in Design Pattern ( May 7, 2023)
  • Open-Closed Principle in Design Pattern ( April 10, 2023)
  • Liskov Substitution Principle in Design Pattern ( December 20, 2022)
  • Single Responsibility Principle in Design Pattern ( December 4, 2022)
  • Hello World with Android application ( November 29, 2022)

Recent Comments

    Proudly powered by WordPress Theme: Delivery Lite by Theme Junkie.