NNeelinneelchikhal.hashnode.dev·Jun 3, 2025 · 3 min readAndroid Internals - Part 2Activity class provides a number of callback methods, that let an activity know when the state changes or the system is going to stop/create/resume/destroy the activity or going to stop/create/resume/destroy the process that activity resides in. With...01V
NNeelinneelchikhal.hashnode.dev·Jun 2, 2025 · 1 min readAndroid Internals - Part 1Layout defines a structure through which user can interact with your app. The elements of the layout are created in the hierarchy of Views and ViewGroups. A View draws something that user can see and interact with. ViewGroup is an invisible container...00
NNeelinneelchikhal.hashnode.dev·Jul 7, 2024 · 2 min readDesign Pattern - 3Decorator design pattern saves us from object explosion. Composition is a design technique in OOP which defines has-a relationship between objects. public class Job{ // methods and properties... } Person HAS-A Job public class Person{ privat...00
NNeelinneelchikhal.hashnode.dev·Jul 4, 2024 · 3 min readDesign Patterns - 2Observer Pattern keeps the objects in the know when something about they care happens. Publishers + Subscribers = Observer Pattern Only in case of Observer pattern : Publisher -> Subject / Observable Subscriber -> Observer This pattern defines one-to...00
NNeelinneelchikhal.hashnode.dev·Jul 4, 2024 · 2 min readDesign Patterns - 1Need : When we are using inheritance in our application, there comes a situation where our design in no longer scalable. Strategy Pattern helps us resolve this problem. When we are using inheritance, if we observe that multiple child classes are havi...00