Overview
A controller that manages and displays a directions list.
The controller mantains its own states internally based on the associated navigator
. The directionsListView
is updated automatically based on navigator
states.
Public Member Functions | |
(instancetype) | - initWithNavigator: |
Initializes the controller with a navigator . | |
(void) | - reloadData |
Updates the data source from the latest navigator state and reload the list. | |
(void) | - invalidateLayout |
Invalidates the layout of the directionsListView . | |
Properties | |
UIView * | directionsListView |
The view that displays the directions list. |
Member Function Documentation
- (instancetype) initWithNavigator: | (GMSNavigator *) | navigator |
Initializes the controller with a navigator
.
- Parameters:
-
navigator The controller automatically updates the list based on the current state of the navigator
afterdirectionsListView
is accessed for the first time.
- (void) reloadData |
Updates the data source from the latest navigator
state and reload the list.
Calling this method before directionsListView
is accessed for the first time results in no-op.
- (void) invalidateLayout |
Invalidates the layout of the directionsListView
.
This should be called during events such as rotations and view size changes. Calling this method before directionsListView
is accessed for the first time results in no-op.
Property Documentation
- (UIView*) directionsListView [read, assign] |
The view that displays the directions list.
The view is lazy loaded when it is accessed for the first time.