React NativeReact Native Firebase Todo AppHow it works… As the above demo you can do all the CRUD operations for the Todo s. https://github.com/ChathuraLiyanapathirana/rn-fb-todo-app.gitMay 15, 2021
ReactFlex Box Layout CheckerHave you ever create a responsive ui? if it is yes. then you know the pain, we have to do so many things to make ui responsiveness. using this css3 model we can create responsive ui s very easily. but it noes not mean, you can do any kind of responsiveness on ui. in this […]April 13, 2021
JAVA OOPJava OOP – Garbage CollectionThe process by which the programs perform memory management automatically is called Garbage Collection in Java. The Garbage Collector(GC) reclaim the memory by finding the unused objects and deleting them. Dynamic memory allocation of objects is achieved using the new operator that uses some memory and the memory remains allocated until there are references for […]September 1, 2020
JAVA OOPJava OOP – Java Swing Applications (Layout Manager)The mechanism of arranging swing controls by adding controls to a container is called layout manager. There are following classes that represents the layout managers: java.awt.BorderLayout java.awt.FlowLayout java.awt.GridLayout java.awt.CardLayout java.awt.GridBagLayout javax.swing.BoxLayout javax.swing.GroupLayout javax.swing.ScrollPaneLayout javax.swing.SpringLayout etc. Visit our previous articles Introduction of Swing applications and Java Containers and Event handling for further more details. BorderLayout The […]September 1, 2020
JAVA OOPJava OOP – Java Swing Applications (Containers and Event Handling)The window that user interacts in any GUI software is called a container. For building GUI applications at least one container class is necessary. A default layout is present in each container which can be overridden using setLayout method. The codes we give to run the container after we adding the controls to the containers […]August 29, 2020
JAVA OOPJava OOP – Java Swing Applications(Introduction)Swing in java used for creating window based applications. It includes components like button, scroll bar, text field etc. Putting together all these components makes a graphical user interface. Java Swing Applications can be divided into four major parts. Containers Controls Layout Manager Event Handling Containers The window that user interacts in any GUI software […]August 27, 2020
JAVA OOPJava OOP – Java Inner ClassesJava inner class is a class which is declared inside the class or interface. It can be declared private, public, protected, or with default access whereas an outer class can have only public or default access. We use inner classes to logically group classes and interfaces in one place so that it can be more […]August 25, 2020
JAVA OOPJava OOP – Java InterfacesAn interface is a reference type in Java. It is similar to class. It is a collection of abstract methods. Sub class of an interface cannot be extended. It should be implemented. You can visit the article Abstraction to get knowledge about abstract classes and methods. To access the method inside the sub class, we […]August 22, 2020
JAVA OOPJava OOP – AbstractionAbstraction is a basic concept of OOP which is displaying the essential details to the user by handling the complexity. It is the process of identifying the required characteristics of an object ignoring the irrelevant details. You can visit the other concepts Inheritance, Polymorphism and Encapsulation if you guys need to know about them. Abstraction […]August 19, 2020
JAVA OOPJava OOP – EncapsulationEncapsulation is binding of object state(fields) and behavior(methods) together. The idea behind the encapsulation is to hide the implementation details from the user. In previous articles we discussed about Inheritance and Polymorphism. You can refer those concepts before going to the encapsulation. Let’s go back to the topic Encapsulation. Real world Example for encapsulation is: […]August 16, 2020
JAVA OOPJava OOP – Java Access ModifiersAn access modifier restricts access of a class, constructor, data member, and method in another class. In java, we have four access modifiers that specify which classes can access a given class and its fields, constructors and methods. Default Private Protected Public If you want you can refer previous concepts Inheritance and Polymorphism. Let’s go […]August 15, 2020