Skip to content
AndroidBoss
AndroidBoss
Build Android Apps Like a Boss
Home Contact Us Terms and Conditions Privacy Policy
AndroidBoss
AndroidBoss
Build Android Apps Like a Boss
Home Contact Us Terms and Conditions Privacy Policy

Month: November 2021

Protected apps

How to enable auto start permission programmatically for customized android OS?

November 3, 2021

Mi, Xiaomi, Oppo, Vivo, Huawei, LeTV, Asus like smartphone manufacturers are using a customized android OS that looks like and works differently than the stock android OS. Those manufacturers use lots of security functionality. Like your background service will be stopped after screen lock, the device will go to doze mode, foreground service will not […]

comment 0 Comments
Factory Method

What is a Factory Method in Kotlin?

November 2, 2021

It’s a kinda Design Pattern. How and when do we need to use it? The Factory method is a creational pattern used to create objects when – A class cannot anticipate the type of objects it needs to create beforehand. You want to localize the logic to instantiate a complex object. You need several “constructors” […]

comment 0 Comments
Generics in Kotlin

What are Generics in Kotlin?

November 2, 2021

They enable types (classes and interfaces) to be parameters when defining classes, interfaces, and methods/functions. Much like the more familiar formal parameters used in the method declarations, type parameters provide a way for you to re-use the same code with different inputs. Generic classes and methods combine reusability, type safety, and efficiency in a way […]

comment 0 Comments

Archives

  • December 2022
  • November 2021
  • October 2021

Categories

  • android
  • beginner
  • coroutines
  • java
  • kotlin

Recent Posts

  • How to disable doze mode in android, kotlin?
  • Debounce in Kotlin Android Search View
  • How to enable auto start permission programmatically for customized android OS?
  • What is a Factory Method in Kotlin?
  • What are Generics in Kotlin?

Recent Comments

No comments to show.