some stuff
This commit is contained in:
@@ -170,6 +170,7 @@ fun startGTFSTracking(url: String, api_key: String, callee: Activity) {
|
||||
offset += messageParsed.features.size;
|
||||
}while(messageParsed.features.isNotEmpty())
|
||||
}
|
||||
/* TODO: remove or fix Lags
|
||||
// put all stops on the map
|
||||
GTFSMainHandler.post {
|
||||
Toast.makeText(callee, "Drawing stops...", Toast.LENGTH_SHORT).show()}
|
||||
@@ -187,7 +188,7 @@ fun startGTFSTracking(url: String, api_key: String, callee: Activity) {
|
||||
}
|
||||
GTFSMainHandler.post {
|
||||
Toast.makeText(callee, "Done drawing ${gtfsStops.features.size} stops", Toast.LENGTH_SHORT).show()}
|
||||
|
||||
*/
|
||||
} catch(e: Exception) {
|
||||
GTFSMainHandler.post {
|
||||
Toast.makeText(callee, e.message ?: "Unknown error", Toast.LENGTH_SHORT).show()
|
||||
|
||||
Reference in New Issue
Block a user