Interface in VB .Net

Introduction Interfaces are a core OOP concept in VB.NET that enable polymorphism, multiple inheritance, and clean architecture. Definition An interface in VB.NET is a programming construct that defines a set of methods, properties, and event declarations without providing their implementation. An interface in VB.NET is a blueprint that defines method Read more…

Loading

Procedure/Function in VB .Net

Definition of Procedure In VB.NET, a Procedure is a block of reusable code that performs a specific task. Exit Statements in Procedure The term Exit Sub or Exit Function is used to terminate the execution of program prematurely/forcibly. Types of Procedure Procedures can be of two types: Subroutine Procedures:  Function Read more…

Loading

Polymorphism Examples

Example :  Polymorphism examples in VB .NET program in Subroutine to use Function/Method Overriding using Polymorphism in Console Application. Example : Polymorphism examples in VB .NET program in to display Abstract Class & Method using Polymorphism in Console Application.

Loading

Namespaces

Definition of Namespace In VB.NET, a namespace is a container that holds or is the vast collection of a set of related objects, such as classes, interfaces, structures, enumerations, and other namespaces. Features of Namespace Each namespace contains various classes, interfaces, and structures with specific functionalities, providing a rich set Read more…

Loading

Splash Screen … (Examples)

Example : How to create a Splash Screen for an Android App/Activity using XML and Android Java. AndroidManifests.xml file —————————— [Set .SplashScreenActivity.xml file as Top in Activity tag with — contents] activity_splash_screen.xml —————————— SplashScreenActivity.java —————————— package com.rkm.myapplication; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.os.Handler; public class SplashScreenActivity extends AppCompatActivity Read more…

Loading

Misc Basic Codes (Examples)

Example : How to Create a New Project/Android Apps First Time in Android Studio(version Koala 2024.1.1)? Open a well set and properly configured Android Studio – Choose ‘Projects’ – Choose ‘New Project’ – Choose ‘Phone and Tablet’ templates – Choose ‘Empty Views Activity’ templates – Next – Put the Project/Application Read more…

Loading

Menu Design (Examples)

Example : How to create an Options Menu (Three Vertical Dot) in an Android App using XML and Android Java. NB: First of all, right click on res folder – New – Android resource directory – select menu from resource type – ok – right click on menu folder – Read more…

Loading

Fragment & its Life Cycle

The fragment is a part of the Activity in which we can create and display one or multiple screens in one activity as per application requirements. It is the modular section of the Android activity. Hence, it is sometimes called Sub-Activity. A fragment encapsulates the functionality of an individual fragment Read more…

Loading

Android Layouts & Attributes

Android Layouts In Android, Layouts are fundamental building blocks of the user interface. They are containers that dictate the visual structure and arrangement of the UI components (like TextView, Button, ImageView, etc.) placed within them. In Android development, layouts define the structure and arrangement of UI components (such as buttons, text views, images, etc.) on the screen. Read more…

Loading