Data passing between screens

11 0 0
Data passing between screens

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Data binding Data passing between screens Data application One way – Send data Global (Should avoid) Source screen Public static variable (Should avoid) Destination screen Constructor parameter Global[.]

Data passing between screens Data application One way – Send data  Global (Should avoid)  Source screen: Public static variable (Should avoid)  Destination screen: Constructor parameter Global  Use Global class to store & retrieve data  Easy, fast  Not recommended! (Why?) Global example Public static  The source screen has public static variable Constructor parameter TwoWay – Get back data  Public static (again?)  Public property  Delegate & event Public property Delegate Another demo Demo In short 10 Lambda expression Siêu ngắn 11

Ngày đăng: 09/04/2023, 06:30

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan