YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.browser.ContentListFragment Class Reference

Activity for browsing devices and folders. More...

Inheritance diagram for de.yaacc.browser.ContentListFragment:
Inheritance graph
Collaboration diagram for de.yaacc.browser.ContentListFragment:
Collaboration graph

Public Member Functions

void onResume ()
 
void onSaveInstanceState (@NonNull Bundle outState)
 
void onClick (View v)
 
void onCreate (Bundle savedInstanceState)
 
boolean onBackPressed ()
 Steps 'up' in the folder hierarchy or closes App if on device level.
 
void populateItemList (boolean clear)
 Selects the place in the UI where the items are shown and renders the content directory.
 
void showLoading (int position)
 
void hideLoading (int position)
 
void deviceAdded (Device<?, ?, ?> device)
 Refreshes the shown devices when device is added.
 
void deviceRemoved (Device<?, ?, ?> device)
 Refreshes the shown devices when device is removed.
 
void deviceUpdated (Device<?, ?, ?> device)
 
void receiverDeviceRemoved (Device<?, ?, ?> device)
 
void receiverDeviceAdded (Device<?, ?, ?> device)
 
Navigator getNavigator ()
 Returns Object containing about the current navigation way.
 
void setNavigator (Navigator navigator)
 
View onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
 
void onViewCreated (View view, Bundle savedInstanceState)
 
void playItem (DIDLObject item)
 
void playAllChildsOfParentFrom (DIDLObject item)
 
void addToPlayList (DIDLObject currentObject)
 
- Public Member Functions inherited from de.yaacc.upnp.UpnpClientListener
- Public Member Functions inherited from de.yaacc.browser.OnBackPressedListener

Static Public Attributes

static final String CONTENT_LIST_NAVIGATOR = "CONTENT_LIST_NAVIGATOR"
 

Protected Attributes

RecyclerView contentList
 

Detailed Description

Activity for browsing devices and folders.

Represents the entrypoint for the whole application.

Author
Tobias Schöne (the openbit)

Member Function Documentation

◆ deviceAdded()

void de.yaacc.browser.ContentListFragment.deviceAdded ( Device<?, ?, ?> device)

Refreshes the shown devices when device is added.

Implements de.yaacc.upnp.UpnpClientListener.

◆ deviceRemoved()

void de.yaacc.browser.ContentListFragment.deviceRemoved ( Device<?, ?, ?> device)

Refreshes the shown devices when device is removed.

Implements de.yaacc.upnp.UpnpClientListener.

Here is the call graph for this function:

◆ deviceUpdated()

void de.yaacc.browser.ContentListFragment.deviceUpdated ( Device<?, ?, ?> device)

◆ getNavigator()

Navigator de.yaacc.browser.ContentListFragment.getNavigator ( )

Returns Object containing about the current navigation way.

Returns
information about current navigation

◆ onBackPressed()

boolean de.yaacc.browser.ContentListFragment.onBackPressed ( )

Steps 'up' in the folder hierarchy or closes App if on device level.

Implements de.yaacc.browser.OnBackPressedListener.

Here is the call graph for this function:

◆ receiverDeviceAdded()

void de.yaacc.browser.ContentListFragment.receiverDeviceAdded ( Device<?, ?, ?> device)

◆ receiverDeviceRemoved()

void de.yaacc.browser.ContentListFragment.receiverDeviceRemoved ( Device<?, ?, ?> device)

The documentation for this class was generated from the following file: