public class

SCInviteFragmentActivity

extends SCControlledFragmentActivity<T extends IController>
implements SCInviteFragment.Callbacks
java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.view.ContextThemeWrapper
         ↳ android.app.Activity
           ↳ com.c2call.sdk.pub.activities.core.SCBaseFragmentActivity
             ↳ com.c2call.sdk.pub.activities.core.SCSingleFragmentActivity
               ↳ com.c2call.sdk.pub.activities.core.SCControlledFragmentActivity<T extends com.c2call.sdk.pub.gui.core.controller.IController>
                 ↳ com.c2call.sdk.pub.activities.SCInviteFragmentActivity

Class Overview

Simple implementation of an Activity that is controlled by a IInviteController. It contains a single SCInviteFragment. and may be started manually like:

 // optional. If not null the view will be pre-filled with that data
 Invitation invitation = getInvitation();

 final Intent intent = new Intent(activity, SCInviteActivity.class);
 intent.putExtra(SCExtraData.Invite.EXTRA_DATA_LAYOUT, R.layout.sc_invite);
 intent.putExtra(SCExtraData.Invite.EXTRA_DATA_INVITATION, invitation);
 activity.startActivity(intent);
 

Summary

[Expand]
Inherited Constants
From class android.app.Activity
From class android.content.Context
From interface android.content.ComponentCallbacks2
[Expand]
Inherited Fields
From class com.c2call.sdk.pub.activities.core.SCSingleFragmentActivity
From class android.app.Activity
Public Constructors
SCInviteFragmentActivity()
Protected Methods
void onCreate(Bundle savedInstanceState)
Fragment onCreateFragment()
Creates the fragment used in this activity.
[Expand]
Inherited Methods
From class com.c2call.sdk.pub.activities.core.SCControlledFragmentActivity
From class com.c2call.sdk.pub.activities.core.SCSingleFragmentActivity
From class com.c2call.sdk.pub.activities.core.SCBaseFragmentActivity
From class android.app.Activity
From class android.view.ContextThemeWrapper
From class android.content.ContextWrapper
From class android.content.Context
From class java.lang.Object
From interface android.content.ComponentCallbacks
From interface android.content.ComponentCallbacks2
From interface android.view.KeyEvent.Callback
From interface android.view.LayoutInflater.Factory
From interface android.view.LayoutInflater.Factory2
From interface android.view.View.OnCreateContextMenuListener
From interface android.view.Window.Callback
From interface com.c2call.sdk.pub.gui.core.controller.IControllerRequestListener
From interface com.c2call.sdk.pub.gui.core.loaderhandler.ILoaderHandlerContext
From interface com.c2call.sdk.pub.gui.core.loaderhandler.ILoaderHandlerContextProvider

Public Constructors

public SCInviteFragmentActivity ()

Protected Methods

protected void onCreate (Bundle savedInstanceState)

protected Fragment onCreateFragment ()

Creates the fragment used in this activity.

Returns
  • a Fragment