uno-mvux-feedview

Binds FeedView to typed streams for automatic UI updates in XAML apps.

9|1|Updated Dec 10, 2024
One-click install
npx skills add https://github.com/unoplatform/studio --skill uno-mvux-feedview
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: uno-mvux-feedview
Source: https://github.com/unoplatform/studio/tree/main/plugins/uno-platform-studio/skills/uno-mvux-feedview
Command: npx skills add https://github.com/unoplatform/studio --skill uno-mvux-feedview

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Displays asynchronous feed data in UI by leveraging the FeedView control to handle loading, success, and error states, reducing boilerplate and ensuring consistent UX.

Core Features & Use Cases

  • Bind FeedView to IFeed<T> or IState<T> in XAML to render loading, data, and error states.
  • Provide templates for ValueTemplate, ProgressTemplate, ErrorTemplate, and NoneTemplate to customize the UI per state.
  • Works with mvux data flows and supports template customization within standard XAML binding workflows.

Quick Start

Bind a FeedView to your IFeed<T> or IState<T> in XAML and define ValueTemplate, ProgressTemplate, ErrorTemplate, and NoneTemplate.

Frequently Asked Questions about uno-mvux-feedview

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I render asynchronous feed data in a XAML UI?

To render asynchronous feed data in a XAML UI, bind a FeedView control to an IFeed<T> or IState<T> data source. This automatically manages loading, data, and error states while reducing boilerplate code.

What templates do I need to customize a FeedView for loading and error states?

Customizing a FeedView for loading and error states requires defining ProgressTemplate and ErrorTemplate in XAML. You also define ValueTemplate for data and NoneTemplate for empty states to ensure a consistent user experience.

Can I bind IFeed<T> directly to a FeedView in XAML without extra code?

Yes, you can bind IFeed<T> directly to a FeedView using the mvux namespace in XAML. The control handles automatic state transitions from the data source without requiring additional boilerplate logic.

What is the best way to handle loading, success, and error states for mvux data flows?

The best way to handle loading, success, and error states for mvux data flows is using a FeedView control. It natively maps these states to ValueTemplate, ProgressTemplate, and ErrorTemplate, ensuring consistent UI transitions.

Why does my FeedView show a blank screen instead of the ProgressTemplate during data loading?

A blank FeedView during data loading usually means the ProgressTemplate is missing or not properly defined in XAML. Ensure your IFeed<T> source is correctly bound and the template is customized for the loading state.