This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
URI uri = UriBuilder.create() | |
.queryParam("method", "user.authorize") | |
.queryParam("email", email) | |
.queryParam("password", password) | |
.build(); | |
JsonNode result = get(uri); | |
User user = readValue(mObjectMapper, result.get("user"), User.class); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
layout.xml: | |
<ProgressBar | |
android:id="@+id/pb_loading" | |
style="@style/ListSpinner" | |
android:layout_centerInParent="true" /> | |
styles.xml: | |
<style name="Spinner"> |
NewerOlder