- onActivityResult(int, int, Intent) - Method in class org.codethechange.culturemesh.FindNetworkActivity
-
When the user has chosen a near location using
ChooseNearLocationActivity
, this
method is called by the
Intent
that launched the near location chooser with the
result of the user's selection.
- onActivityResult(int, int, Intent) - Method in class org.codethechange.culturemesh.OnboardActivity
-
After the user has logged in, this function is called to redirect user to new activity
- onActivityResult(int, int, Intent) - Method in class org.codethechange.culturemesh.SettingsActivity
-
This function is overridden to handle image selection.
- onAttach(Context) - Method in class org.codethechange.culturemesh.CommentsFrag
- onAttach(Context) - Method in class org.codethechange.culturemesh.PostsFrag
- onBackPressed() - Method in class org.codethechange.culturemesh.TimelineActivity
-
Handle the back button being pressed.
- onBindViewHolder(NetworkSummaryAdapter.PostViewHolder, int) - Method in class org.codethechange.culturemesh.NetworkSummaryAdapter
-
- onBindViewHolder(RVAdapter.PostViewHolder, int) - Method in class org.codethechange.culturemesh.RVAdapter
-
- onBindViewHolder(RVCommentAdapter.PostReplyViewHolder, int) - Method in class org.codethechange.culturemesh.RVCommentAdapter
-
Fill in the fields of pvh
with the information stored in the PostReply
at
position i
in the list of comments
- onBindViewHolder(UsersListAdapter.ViewHolder, int) - Method in class org.codethechange.culturemesh.UsersListAdapter
-
- OnboardActivity - Class in org.codethechange.culturemesh
-
Introduce user to the app through a series of informational screens that end with a button
that redirects the user to a login page
- OnboardActivity() - Constructor for class org.codethechange.culturemesh.OnboardActivity
-
- onCommentClick(PostReply) - Method in interface org.codethechange.culturemesh.RVCommentAdapter.OnItemClickListener
-
Handles clicks on a list item
- onConfigurationChanged(Configuration) - Method in class org.codethechange.culturemesh.DrawerActivity
-
Also updates the configuration of the drawer toggle by calling
DrawerActivity#mDrawerToggle#onConfigurationChanged(Configuration)
with the provided
parameter.
- onCreate(Bundle) - Method in class org.codethechange.culturemesh.AboutActivity
-
When the activity is created, it pulls what to display from R.layout#activity_about
.
- onCreate(Bundle) - Method in class org.codethechange.culturemesh.Acknowledgements
-
Link the activity to its layout specified in R.layout#activity_acknowledgements
- onCreate() - Method in class org.codethechange.culturemesh.ApplicationStart
-
Initialize Crashyltics.
- onCreate(Bundle) - Method in class org.codethechange.culturemesh.ChooseNearLocationActivity
-
Setup the activity.
- onCreate(Bundle) - Method in class org.codethechange.culturemesh.CommentsFrag
-
- onCreate(Bundle) - Method in class org.codethechange.culturemesh.CreateEventActivity
-
Initialize activity with saved state
- onCreate(Bundle) - Method in class org.codethechange.culturemesh.CreatePostActivity
-
Create the screen from
R.layout#activity_create_post
, fill
CreatePostActivity.networkLabel
with a description of the
Network
from
API.Get#network(RequestQueue, long, Response.Listener)
, setup
CreatePostActivity.formatManager
, and link a listener to the submission button that
sends the
Post
using
API.Post#post(RequestQueue, Post, SharedPreferences, Response.Listener)
- onCreate(Bundle) - Method in class org.codethechange.culturemesh.ExploreBubblesOpenGLActivity
-
- onCreate(Bundle) - Method in class org.codethechange.culturemesh.FindNetworkActivity
-
Setup the activity based on content specified in R.layout#activity_find_network
.
- onCreate(Bundle) - Method in class org.codethechange.culturemesh.LoginActivity
-
Create the user interface from R.layout#activity_login
.
- onCreate(Bundle) - Method in class org.codethechange.culturemesh.OnboardActivity
-
Generate onboarding pages and display them
- onCreate(Bundle) - Method in class org.codethechange.culturemesh.PostsFrag
-
- onCreate(Bundle) - Method in class org.codethechange.culturemesh.SettingsActivity
-
Setup the user interface with the layout defined in R.layout#activity_settings
.
- onCreate(Bundle) - Method in class org.codethechange.culturemesh.SpecificPostActivity
-
Create the user interface from the layout defined by R.layout#activity_specific_post
.
- onCreate(Bundle) - Method in class org.codethechange.culturemesh.TimelineActivity
-
Setup user interface using layout defined in R.layout#activity_timeline
and
initialize instance fields with that layout's fields (elements)
- onCreate(Bundle) - Method in class org.codethechange.culturemesh.ViewProfileActivity
-
Setup the user interface using the layout defined in R.layout#activity_view_profile
and configure the various tabs.
- onCreateDialog(Bundle) - Method in class org.codethechange.culturemesh.CreateEventActivity.DatePickerFragment
-
Called when the fragment is created
Sets the initial state of the calendar to the current date and returns the resulting
DatePickerDialog to display
- onCreateDialog(Bundle) - Method in class org.codethechange.culturemesh.CreateEventActivity.TimePickerFragment
-
Called when the fragment is created
Sets the initial state of the clock to the current time and returns the resulting
TimePickerDialog to display
- onCreateDialog(Bundle) - Method in class org.codethechange.culturemesh.TimelineActivity.FilterDialogFragment
-
- onCreateOptionsMenu(Menu) - Method in class org.codethechange.culturemesh.CreatePostActivity
-
Populate the options menu with controls to make text bold, italic, or a link
- onCreateOptionsMenu(Menu) - Method in class org.codethechange.culturemesh.FindNetworkActivity
-
Inflate the menu; this adds items to the action bar if it is present.
- onCreateOptionsMenu(Menu) - Method in class org.codethechange.culturemesh.TimelineActivity
-
Inflate menu
from R.menu#timeline
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class org.codethechange.culturemesh.CommentsFrag
-
Populate the activity with UI elements
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class org.codethechange.culturemesh.FindNetworkActivity.FindLanguageFragment
-
Create the displayed fragment.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class org.codethechange.culturemesh.FindNetworkActivity.FindLocationFragment
-
Create the displayed fragment.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class org.codethechange.culturemesh.ListNetworksFragment
-
Setup the user interface to display the list of networks and populate that list with the
result of calling API.Get#userNetworks(RequestQueue, long, Response.Listener)
.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class org.codethechange.culturemesh.ListUserEventsFragment
-
Setup the user interface to display the list of events and populate that list with the
result of calling API.Get#userEvents(RequestQueue, long, String, Response.Listener)
.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class org.codethechange.culturemesh.ListUserPostsFragment
-
Create the user interface.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class org.codethechange.culturemesh.PostsFrag
-
Create user interface and handle clicks on posts by launching
SpecificPostActivity
,
which displays more detailed information.
- onCreateViewHolder(ViewGroup, int) - Method in class org.codethechange.culturemesh.NetworkSummaryAdapter
-
- onCreateViewHolder(ViewGroup, int) - Method in class org.codethechange.culturemesh.RVAdapter
-
- onCreateViewHolder(ViewGroup, int) - Method in class org.codethechange.culturemesh.RVCommentAdapter
-
- onCreateViewHolder(ViewGroup, int) - Method in class org.codethechange.culturemesh.UsersListAdapter
-
- onDateSet(DatePicker, int, int, int) - Method in class org.codethechange.culturemesh.CreateEventActivity.DatePickerFragment
-
When user sets the date, show their choice in the eventDate textView
- onDestroy() - Method in class org.codethechange.culturemesh.RedirectableAppCompatActivity
-
Also uses the extras in the launching Intent
to decide which Activity to launch next
- onDetach() - Method in class org.codethechange.culturemesh.CommentsFrag
- onDetach() - Method in class org.codethechange.culturemesh.PostsFrag
- onDismiss() - Method in interface org.codethechange.culturemesh.NetworkResponse.DialogTapListener
-
- onFinishButtonPressed() - Method in class org.codethechange.culturemesh.HelpActivity
-
When finish button pressed return user to previous page
- onFinishButtonPressed() - Method in class org.codethechange.culturemesh.OnboardActivity
-
When finish button pressed at end of onboarding, send user to login page
- onItemClick(View, Network) - Method in class org.codethechange.culturemesh.ListNetworksFragment
-
This is the onClick() passed to NetworkSummaryAdapter.
- onItemClick(FeedItem) - Method in class org.codethechange.culturemesh.ListUserEventsFragment
-
When an item is clicked, if it is a Post
, the user is sent to a screen to view the
post in more detail, including comments.
- onItemClick(FeedItem) - Method in class org.codethechange.culturemesh.ListUserPostsFragment
-
When the user clicks on an item, redirect them to
SpecificPostActivity
where more
details, including comments, are displayed.
- onItemClick(View, Network) - Method in interface org.codethechange.culturemesh.NetworkSummaryAdapter.OnNetworkTapListener
-
- onItemClick(FeedItem) - Method in interface org.codethechange.culturemesh.RVAdapter.OnItemClickListener
-
Handle a click on the provided item
- onItemClick(View, Network) - Method in class org.codethechange.culturemesh.SettingsActivity
-
Handle what happens when a user clicks on a Network
.
- onNavigationItemSelected(MenuItem) - Method in class org.codethechange.culturemesh.DrawerActivity
-
Handle navigation items the user selects.
- onOptionsItemSelected(MenuItem) - Method in class org.codethechange.culturemesh.CreatePostActivity
-
This function handles what happens when our format toggle buttons are clicked.
- onOptionsItemSelected(MenuItem) - Method in class org.codethechange.culturemesh.FindNetworkActivity
-
Handles clicks to the action bar.
- onOptionsItemSelected(MenuItem) - Method in class org.codethechange.culturemesh.TimelineActivity
- onPause() - Method in class org.codethechange.culturemesh.ExploreBubblesOpenGLActivity
-
- onPostCreate(Bundle) - Method in class org.codethechange.culturemesh.DrawerActivity
-
- onQueryTextChange(String) - Method in class org.codethechange.culturemesh.ChooseNearLocationActivity
-
Whenever the query text changes, do nothing because sending network requests every time is
unnecessary.
- onQueryTextChange(String) - Method in class org.codethechange.culturemesh.FindNetworkActivity.FindLanguageFragment
-
When the query text changes, do nothing to avoid expensive API calls.
- onQueryTextChange(String) - Method in class org.codethechange.culturemesh.FindNetworkActivity.FindLocationFragment
-
When the query text changes, do nothing to avoid expensive API calls.
- onQueryTextSubmit(String) - Method in class org.codethechange.culturemesh.ChooseNearLocationActivity
-
- onQueryTextSubmit(String) - Method in class org.codethechange.culturemesh.FindNetworkActivity.FindLanguageFragment
-
- onQueryTextSubmit(String) - Method in class org.codethechange.culturemesh.FindNetworkActivity.FindLocationFragment
-
- onResume() - Method in class org.codethechange.culturemesh.ExploreBubblesOpenGLActivity
-
- onResume() - Method in class org.codethechange.culturemesh.FindNetworkActivity
- onResume() - Method in class org.codethechange.culturemesh.StartActivity
-
Whenever this screen becomes "visible", immediately redirect the user to
TimelineActivity
if they have a selected network and are logged in.
- onSelectionChanged(int, int) - Method in class org.codethechange.culturemesh.FormatManager
-
- onSelectionChanged(int, int) - Method in class org.codethechange.culturemesh.ListenableEditText
-
When the selection changes, if it is due to the user typing a character,
ListenableEditText#mListener#onSelectionChanged(int, int)
is called with the
provided parameters.
- onSelectionChanged(int, int) - Method in interface org.codethechange.culturemesh.ListenableEditText.onSelectionChangedListener
-
- onStart() - Method in class org.codethechange.culturemesh.TimelineActivity
-
Check if user has selected a network to view, regardless of whether the user is subscribed
to any networks yet.
- onStop() - Method in class org.codethechange.culturemesh.CommentsFrag
-
This ensures that we are canceling all network requests if the user is leaving this activity.
- onStop() - Method in class org.codethechange.culturemesh.CreatePostActivity
-
This ensures that we are canceling all network requests if the user is leaving this activity.
- onStop() - Method in class org.codethechange.culturemesh.DrawerActivity
-
This ensures that we are canceling all network requests if the user is leaving this activity.
- onStop() - Method in class org.codethechange.culturemesh.FindNetworkActivity
-
This ensures that we are canceling all network requests if the user is leaving this activity.
- onStop() - Method in class org.codethechange.culturemesh.ListNetworksFragment
-
This ensures that we are canceling all network requests if the user is leaving this activity.
- onStop() - Method in class org.codethechange.culturemesh.ListUserEventsFragment
-
This ensures that we are canceling all network requests if the user is leaving this activity.
- onStop() - Method in class org.codethechange.culturemesh.ListUserPostsFragment
-
This ensures that we are canceling all network requests if the user is leaving this activity.
- onStop() - Method in class org.codethechange.culturemesh.PostsFrag
-
This ensures that we are canceling all network requests if the user is leaving this activity.
- onStop() - Method in class org.codethechange.culturemesh.SettingsActivity
-
This ensures that we are canceling all network requests if the user is leaving this activity.
- onStop() - Method in class org.codethechange.culturemesh.SpecificPostActivity
-
This ensures that we are canceling all network requests if the user is leaving this activity.
- onStop() - Method in class org.codethechange.culturemesh.ViewProfileActivity
-
This ensures that we are canceling all network requests if the user is leaving this activity.
- onSubscribeListFinish() - Method in interface org.codethechange.culturemesh.DrawerActivity.WaitForSubscribedList
-
- onSubscribeListFinish() - Method in class org.codethechange.culturemesh.TimelineActivity
-
If the user is subscribed to the network, they are able to write posts and events.
- onSupportNavigateUp() - Method in class org.codethechange.culturemesh.ViewProfileActivity
-
This allows the user to hit the back button on the toolbar to go to the previous activity.
- onSwipeRefresh() - Method in class org.codethechange.culturemesh.TimelineActivity
-
Restart activity to refresh the feed
- onTimeSet(TimePicker, int, int) - Method in class org.codethechange.culturemesh.CreateEventActivity.TimePickerFragment
-
When user sets the time, show their choice in the eventTime textView
- open - Variable in class org.codethechange.culturemesh.TimelineActivity
-
Handle the animations for expanding the "create" floating action button into buttons to
create Post
s and
Event
s (open) and performing the reverse (close)
- openEditTextView() - Method in class org.codethechange.culturemesh.SpecificPostActivity
-
This function animates the bottom view to expand up, allowing for a greater text field
as well as toggle buttons.
- openLegal(View) - Method in class org.codethechange.culturemesh.AboutActivity
-
Open
Acknowledgements
activity to display legally required attributions for the
open-source libraries we use
- org.codethechange.culturemesh - package org.codethechange.culturemesh
-