Spring MVC Data Binding Techniques

URL Parameter Binding @RequestParam Annotation For URL parameters in format ?username=value&password=value, use @RequestParam annotation: @RequestMapping("/auth.do") public ModelAndView authenticate( @RequestParam("username") String userName, @RequestParam(value = "password", required = false) String u ...

Posted on Thu, 22 Oct 2026 16:18:23 +0000 by RoBoTTo

Integrating Android Architecture Components: ViewModel, LiveData, and Data Binding

Managing Lifecycle-Aware Application State Core ViewModel Implementation The ViewModel class acts as a lifecycle-conscious container for UI-related data. It survives configuration changes such as screen rotations without triggering recreation. package com.tech.samples.ui; import androidx.appcompat.app.AppCompatActivity; import androidx.lifecyc ...

Posted on Thu, 24 Sep 2026 16:55:30 +0000 by motofzr1000

Building a Score Tracking Application with Android Architecture Components

Score Tracker Implementation This application demonstrates the implementation of a score tracking system for two teams using modern Android architecture components. The app features real-time score updates, undo functionality, and data persistence during configuration changes. Gradle Configuration Add the following configurations to your app-le ...

Posted on Thu, 10 Sep 2026 16:30:11 +0000 by geaser_geek

Handling Screen Orientation Changes in Android Fragments

When supporting both orientations, leverage ViewModel combined with DataBinding two-way binding to manage UI component data and states. Store text content, click handlers, visibility flags, and other UI properties within the ViewModel. This approach eliminates the need to serialize large amounts of data into Bundles during configuration changes ...

Posted on Sun, 05 Jul 2026 16:56:34 +0000 by nikbone

Lightweight Commanding in Silverlight 4: A 5-Step Walkthrough

The MVVM pattern becomes far more powerful once you wire up commands, yet Silverlight 4 does not ship with a built-in ICommand implementation. The snippet below shows a minimal, self-contained approach that avoids external toolkits. Step 1 – Craft a reusable command object Create a class that fulfills ICommand by forwarding calls to two delegat ...

Posted on Fri, 12 Jun 2026 16:30:43 +0000 by tapupartforpres

Silverlight-Based Daily Construction Schedule Report Implementation

The user interface for the Silverlight-based construction schedule report is built using XAML with a focus on dynamic grid rendering within a themed container. The layout leverages the BubbleCremeTheme from the Silverlight 4 Toolkit, requiring proper namespace declaration: <UserControl xmlns:toolkit="http://schemas.microsoft.com/wi ...

Posted on Tue, 09 Jun 2026 16:56:08 +0000 by Slip