getLongAttributeValue

fun getLongAttributeValue(xpp: XmlPullParser, attributeName: String): Long

Returns the Long value of an attribute of the current start tag.

Return

The Int value of the attribute, or 0L if the current event is not a start tag or if no such attribute was found or if String value cannot be parsed as an Long.

Parameters

xpp

The XmlPullParser to query.

attributeName

The name of the attribute.