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