Implementing Tab Navigation in HarmonyOS Applications

Bottom Navigation Bar @Entry @Component struct MainScreen { build() { Column() { Tabs({ barPosition: BarPosition.End }) { TabContent() { Text('Home Screen').fontSize(30) }.tabBar('Home') TabContent() { Text('Discovery Screen').fontSize(30) }.tabBar('Discovery') TabContent ...

Posted on Tue, 23 Jun 2026 17:09:58 +0000 by rich1983

Flutter Navigation Fundamentals: Basic Routing, Named Routes, and Parameter Passing Techniques

Navigation Approaches Overview Direct component switching - Similar to layout replacement in Android, where components are swapped directly (not recommended) Route-based navigation Basic routing with parameters (common approach) Using Navigator.push() or Navigator.of(context).push() for navigation and parameter passing with MaterialPageRoute ...

Posted on Fri, 19 Jun 2026 16:31:01 +0000 by panoramical

Automating Jetpack Compose Navigation Registration with KSP

Core Capabilities of Kotlin Symbol Processing KSP functions as a compiler plugin operating during the pre-compilation phase. Key constraints and features include: Acts as a drop-in alternative to kapt and Java annotation processors. Executes before semantic analysis and bytecode generation. Supports read-only accesss to source symbols; only ne ...

Posted on Sat, 06 Jun 2026 18:33:31 +0000 by gtzpower

Building a Decoupled Custom Dialog System with ArkUI's Navigation.Dialog

Custom dialogs are essential in mobile application interfaces, covering modal, semi-modal, toast, and other overlay styles. A well-designed dialog component should be independent of specific UI pages and easily triggered from business logic. Common real-world needs include: Triggering dialogs from shared services (login prompts, full-screen ad ...

Posted on Wed, 03 Jun 2026 16:24:26 +0000 by sitorush

Programmatic and Declarative Navigation in Vue with Element UI

Installing Vue Router First, add Vue Router to your project using npm or yarn: npm install vue-router # or yarn add vue-router Router Configuration Create a router directory under src and define your routes in index.js: // src/router/index.js import Vue from 'vue' import VueRouter from 'vue-router' import Dashboard from '@/components/Dashboar ...

Posted on Fri, 29 May 2026 22:23:55 +0000 by everlifefree

Building a Dynamic Dropdown Navigation Bar with CSS and jQuery

A multi-level navigation bar is a fundamental component of modern web design, allowing for organized access to various site sections. This implementation uses a combination of structured HTML, flexbox-based CSS, and jQuery to create a functional dropdown menu. 1. HTML Structure The navigation bar is built using nested unordered lists. The top-l ...

Posted on Sat, 23 May 2026 23:24:55 +0000 by coellen

Implementing UIAbility Navigation in HarmonyOS Applications

Obtaining UIAbility Context In HarmonyOS development, you can retrieve the current ability's context directly within EntryAbility, or obtain the UIAbility instance information from any Page component. Configuring Want Parameters The Want object contains several configuration parameters. The two essential parameters are: bundleName: The target ...

Posted on Mon, 18 May 2026 09:50:53 +0000 by *Lynette

Implementing Navigation and Tab Layout in HarmonyOS

Router Configuration Add the router map reference in module.json5: "routerMap": "$profile:route_map" Route Map Definition Create route_map.json in resources/base/profile/: { "routerMap": [ { "name": "LaunchScreen", "pageSourceFile": "src/main/ets/components/Laun ...

Posted on Sun, 10 May 2026 06:57:57 +0000 by silversinner