Reference Source
public class | source

AlertView

Extends:

* → AlertView

Class for the Alert view

Static Member Summary

Static Public Members
public static

Set the navigation options, change the header to handle a back button.

Constructor Summary

Public Constructor
public

Creates an instance of AlertView

Member Summary

Public Members
public

AlertP: *

public

Triggers when a component or this component is mounted.

public

Component is about to unmount, do any cleanup here.

public

Refreshes the state of the component so new data is fetched.

public

Resets the state

public
Private Members
private

_keyExtractor(item: Object, index: Number): *

Extracts the item id as a string.

private

_onBack: *

When the back button is clicked, check if the user was editing.

private

Triggers a force refresh of the view

private
private
private

Sets the state with the profile data retreived from the model.

Method Summary

Public Methods
public

render(): Component

Renders the screen

Static Public Members

public static navigationOptions: Object: * source

Set the navigation options, change the header to handle a back button.

Return:

Object

Navigation option

Public Constructors

public constructor(props: Object) source

Creates an instance of AlertView

Params:

NameTypeAttributeDescription
props Object

Component properties

Public Members

public AlertP: * source

public componentWillMount: * source

Triggers when a component or this component is mounted.

public componentWillUnmount: * source

Component is about to unmount, do any cleanup here. Call viewUnmounting in base class so it can do any cleanup for the view before calling the presenter destroy method

public refreshState: * source

Refreshes the state of the component so new data is fetched.

public resetState: * source

Resets the state

public temporaryFilter: * source

Private Members

private _keyExtractor(item: Object, index: Number): * source

Extracts the item id as a string.

private _onBack: * source

When the back button is clicked, check if the user was editing.

private _onRefresh: * source

Triggers a force refresh of the view

private _renderItem: * source

private _renderSearchBar: * source

private _setProfileImage: * source

Sets the state with the profile data retreived from the model.

Public Methods

public render(): Component source

Renders the screen

Return:

Component

A react component