in app/src/main/java/org/apache/taverna/mobile/ui/favouriteworkflowdetail/FavouriteWorkflowDetailFragment.java [206:226]
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case R.id.licence:
if (licenceId == null) {
showErrorSnackBar("Please wait");
} else if (licenceId.isEmpty()) {
showErrorSnackBar("No Licence Found");
} else {
mWorkflowDetailPresenter.loadLicenseDetail(licenceId);
}
return true;
}
return super.onOptionsItemSelected(item);
}