mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 00:39:58 +00:00
AbstractEfaProvider: Parse 'gid' and 'pgid' in queryDeparturesMobile().
This commit is contained in:
parent
c20350aae3
commit
7ca68b74dc
1 changed files with 2 additions and 0 deletions
|
@ -1608,6 +1608,8 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
||||||
while (XmlPullUtil.optEnter(pp, "dp")) {
|
while (XmlPullUtil.optEnter(pp, "dp")) {
|
||||||
// misc
|
// misc
|
||||||
/* final String stationName = */normalizeLocationName(XmlPullUtil.valueTag(pp, "n"));
|
/* final String stationName = */normalizeLocationName(XmlPullUtil.valueTag(pp, "n"));
|
||||||
|
/* final String gid = */XmlPullUtil.optValueTag(pp, "gid", null);
|
||||||
|
/* final String pgid = */XmlPullUtil.optValueTag(pp, "pgid", null);
|
||||||
/* final boolean isRealtime = */XmlPullUtil.valueTag(pp, "realtime").equals("1");
|
/* final boolean isRealtime = */XmlPullUtil.valueTag(pp, "realtime").equals("1");
|
||||||
|
|
||||||
XmlPullUtil.optSkip(pp, "dt");
|
XmlPullUtil.optSkip(pp, "dt");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue