ListUserEventsFragment¶
-
public class
ListUserEventsFragment
extends Fragment implements RVAdapter.OnItemClickListener¶ This fragment lists the the events a user is subscribed to. It is used in ViewProfileActivity.
Methods¶
newInstance¶
-
public static ListUserEventsFragment
newInstance
(long selUser)¶ Returns a new instance of this fragment for the given section number.
onCreateView¶
-
public View
onCreateView
(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)¶ 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)
.Parameters: - inflater – Inflates the user interface specified in
R.layout.rv_container
- container – Parent of the generated hierarchy of user interface elements
- savedInstanceState – Saved state to restore
Returns: Inflated user interface
- inflater – Inflates the user interface specified in