some stuff
This commit is contained in:
Generated
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
<selectionStates>
|
<selectionStates>
|
||||||
<SelectionState runConfigName="app">
|
<SelectionState runConfigName="app">
|
||||||
<option name="selectionMode" value="DROPDOWN" />
|
<option name="selectionMode" value="DROPDOWN" />
|
||||||
<DropdownSelection timestamp="2026-02-13T13:44:07.200825088Z">
|
<DropdownSelection timestamp="2026-09-01T18:25:26.823607018Z">
|
||||||
<Target type="DEFAULT_BOOT">
|
<Target type="DEFAULT_BOOT">
|
||||||
<handle>
|
<handle>
|
||||||
<DeviceId pluginId="LocalEmulator" identifier="path=/home/lukas/.config/.android/avd/Medium_Phone_OSS.avd" />
|
<DeviceId pluginId="LocalEmulator" identifier="path=/home/lukas/.config/.android/avd/Medium_Phone_OSS.avd" />
|
||||||
|
|||||||
@@ -170,6 +170,7 @@ fun startGTFSTracking(url: String, api_key: String, callee: Activity) {
|
|||||||
offset += messageParsed.features.size;
|
offset += messageParsed.features.size;
|
||||||
}while(messageParsed.features.isNotEmpty())
|
}while(messageParsed.features.isNotEmpty())
|
||||||
}
|
}
|
||||||
|
/* TODO: remove or fix Lags
|
||||||
// put all stops on the map
|
// put all stops on the map
|
||||||
GTFSMainHandler.post {
|
GTFSMainHandler.post {
|
||||||
Toast.makeText(callee, "Drawing stops...", Toast.LENGTH_SHORT).show()}
|
Toast.makeText(callee, "Drawing stops...", Toast.LENGTH_SHORT).show()}
|
||||||
@@ -187,7 +188,7 @@ fun startGTFSTracking(url: String, api_key: String, callee: Activity) {
|
|||||||
}
|
}
|
||||||
GTFSMainHandler.post {
|
GTFSMainHandler.post {
|
||||||
Toast.makeText(callee, "Done drawing ${gtfsStops.features.size} stops", Toast.LENGTH_SHORT).show()}
|
Toast.makeText(callee, "Done drawing ${gtfsStops.features.size} stops", Toast.LENGTH_SHORT).show()}
|
||||||
|
*/
|
||||||
} catch(e: Exception) {
|
} catch(e: Exception) {
|
||||||
GTFSMainHandler.post {
|
GTFSMainHandler.post {
|
||||||
Toast.makeText(callee, e.message ?: "Unknown error", Toast.LENGTH_SHORT).show()
|
Toast.makeText(callee, e.message ?: "Unknown error", Toast.LENGTH_SHORT).show()
|
||||||
|
|||||||
Reference in New Issue
Block a user