public class

SCAddGroupFragment

extends SCSelectFriendsFragment
java.lang.Object
   ↳ android.app.Fragment
     ↳ com.c2call.sdk.pub.fragments.core.SCBaseFragment<T extends com.c2call.sdk.pub.gui.core.controller.IController, Callbacks extends com.c2call.sdk.pub.fragments.core.IFragmentCallbacks>
       ↳ com.c2call.sdk.pub.fragments.SCSelectFriendsFragment
         ↳ com.c2call.sdk.pub.fragments.SCAddGroupFragment

Class Overview

This fragment is controlled by IAddFriendController and provides a view to add a new group.

Summary

[Expand]
Inherited Constants
From interface android.content.ComponentCallbacks2
Public Constructors
SCAddGroupFragment()
Public Methods
static SCSelectFriendsFragment create(String selectionKey, int layout)
Creates new Fragment.
Protected Methods
ISelectFriendsController onCreateController(View v, SCViewDescription vd, String selectionKey)
Called to create an instance of ISelectFriendsController for this fragment
void onSelectionCommitted(SCSelectionCommitEvent event)
Called if the controller fired an SCSelectionCommitEvent
[Expand]
Inherited Methods
From class com.c2call.sdk.pub.fragments.SCSelectFriendsFragment
From class com.c2call.sdk.pub.fragments.core.SCBaseFragment
From class android.app.Fragment
From class java.lang.Object
From interface android.content.ComponentCallbacks
From interface android.content.ComponentCallbacks2
From interface android.view.View.OnCreateContextMenuListener
From interface com.c2call.sdk.pub.fragments.communication.IFragmentCommunication
From interface com.c2call.sdk.pub.gui.core.controller.IControllerRequestListener

Public Constructors

public SCAddGroupFragment ()

Public Methods

public static SCSelectFriendsFragment create (String selectionKey, int layout)

Creates new Fragment.

Parameters
selectionKey under this key the selectet group members will be stored in SCSelectionManager
layout the layout that is used is this Fragment
Returns
  • the newly created Fragment

Protected Methods

protected ISelectFriendsController onCreateController (View v, SCViewDescription vd, String selectionKey)

Called to create an instance of ISelectFriendsController for this fragment

Parameters
v the view for the controller
vd the view description for the controller
selectionKey the selectionKey that is used by SCSelectionManager to store the selected friends
Returns

protected void onSelectionCommitted (SCSelectionCommitEvent event)

Called if the controller fired an SCSelectionCommitEvent

Parameters
event the event that was fired