1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License in the LICENSE-APACHE file or at:
// https://www.apache.org/licenses/LICENSE-2.0
//! # Views
//!
//! Views allow virtual scrolling over (subsets of) a data set.
//! Each visible data `Item` is assigned a **view widget**, with dynamic
//! re-assignment as the view changes.
//!
//! ## Data clerks
//!
//! The full data set might be available in local memory, on disk, or on a
//! remote server, and may be viewed as a raw list of items or through a filter
//! or query. A [`clerk`] is required to manage this access.
//!
//! ## View controller
//!
//! This crate provides the following **view controllers**:
//!
//! - [`ListView`] constructs a row or column view over items indexed by type `usize`
//! - [`GridView`] constructs a table over items indexed by type `(u32, u32)`
//!
//! ## Driver
//!
//! A view controller uses a **driver** to construct and re-assign view widgets.
//! Simple types (strings and numbers) may use a pre-defined [`driver`],
//! otherwise a custom implementation of [`Driver`] is required.
pub use Driver;
pub use ListView;
pub use ;
/// Used to notify selection and deselection of [`ListView`] and [`GridView`] children
/// Selection mode used by [`ListView`]