ContactsScreen

From Pointui

Inherits Screen.

Displays a list of all contacts on the device and allows the user to select one.

Contents

Events

OnClickContact(Contact contact)

Triggered when the user has selected a contact. The clicked contact is passed into the event.

EXAMPLE

class ScreenContacts : ContactsScreen
{
	void Load()
	{
		//provide a handler for the OnClickContact event
		OnClickContact = ScreenContacts_OnClickContact;
	}
 
	void ScreenContacts_OnClickContact(Contact contact)
	{
		//show contact card screen for selected contact
		ScreenContactCard s;
		s.SetContact(contact);
		FlowStack.Branch(s);
	}
}

OnClickSimContact(String number, String name)

This event is raised when the user clicks a contact that has been sourced from the SIM card.

Methods

void SetShowSimContacts(bool show)

Specifies whether SIM contacts should be included in the list or not.