Changeset View
Changeset View
Standalone View
Standalone View
src/it/reyboz/bustorino/fragments/CommonFragmentListener.java
- This file was added.
package it.reyboz.bustorino.fragments; | |||||
public interface CommonFragmentListener { | |||||
/** | |||||
* Tell the activity that we need to disable/enable its floatingActionButton | |||||
* @param yes or no | |||||
*/ | |||||
void showFloatingActionButton(boolean yes); | |||||
/** | |||||
* Sends the message to the activity to adapt the GUI | |||||
* to the fragment that has been attached | |||||
* @param fragmentType the type of fragment attached | |||||
*/ | |||||
void readyGUIfor(FragmentKind fragmentType); | |||||
/** | |||||
* Houston, we need another fragment! | |||||
* | |||||
* @param ID the Stop ID | |||||
*/ | |||||
void requestArrivalsForStopID(String ID); | |||||
} |
Public contents are in Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) or GNU Free Documentation License (at your option) unless otherwise noted. · Contact / Register