+ Log.d(DEBUG_TAG, "New result palina observed, has coords: ${it.hasCoords()}, title ${it?.stopDisplayName}, number of passages: ${it.totalNumberOfPassages}")
+
+ val palinaIsValid = it!=null && (it.totalNumberOfPassages>0 || it.stopDisplayName!=null)
+ if (palinaIsValid){
updateFragmentData(it)
- } else{
- progressBar.visibility=View.INVISIBLE
- // Avoid showing this ugly message if we have found the stop, clearly it exists but GTT doesn't provide arrival times