Android – Architecture – How to commonize/ customize Android view for frequent use in entire application?
Create file including custom Views Use custom View anywhere inside application
Create file including custom Views Use custom View anywhere inside application
Synchronous call API class API Request Asynchronous call API class API request RxJava2 & Retrofit Data model API class Interface Class API Request
What is it? Real world Think of it as a network of water pipes. You have a source, our water tank Then a series of […]
What is it? Real world Use a your camera memory card in your laptop You cannot use it directly simply because there is no port […]
What is it? Real world Social media When a person updates his status – all his followers gets the notification A follower can follow or […]
Destination Activity/ Fragment Register BroadcastReceiver Source Activity/ Fragment Send Broadcast signal
Child fragment Add listener interface Call listener when something occurs Parent fragment Attach listener to child fragment where it is called Implement listener
Create a base layout class Embed base class into screen layout Set values for each UI element in Activity
Abstract class and Interface Abstract class Abstract classes cannot be instantiated, but they can be subclassed An abstract method is a method that is declared […]
Build screens having Toolbar & Back button & popup dialog, show/hide soft keyboard Build an abstract Activity/ Fragment class Build screen implementing this base abstract […]
Copyright © 2024 | WordPress Theme by MH Themes