ViewProfileActivity¶
-
public class
ViewProfileActivity
extends AppCompatActivity¶ Displays the profile of a user other than the currently-logged-in one
Fields¶
SELECTED_USER¶
-
public static final String
SELECTED_USER
¶ Key for extra in
android.content.Intent
s that specifies the user whose profile is to be displayed. This should be included in the intent that launches this activity.
loadingOverlay¶
-
FrameLayout
loadingOverlay
¶
mTabLayout¶
mViewPager¶
Methods¶
onCreate¶
-
protected void
onCreate
(Bundle savedInstanceState)¶ Setup the user interface using the layout defined in
R.layout.activity_view_profile
and configure the various tabs. Initialize instance fields with the elements of theandroid.view.View
created from the layout and fill the UI fields with the content of the profile usingAPI.Get.user(RequestQueue,long,Response.Listener)
Parameters: - savedInstanceState – {@inheritDoc}