Hot fixes serialization names (proguard).
parent
67a82ee370
commit
5a0dd4d559
|
@ -220,12 +220,12 @@ public class PlacesFragment extends Fragment {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Toast.makeText(getActivity(),
|
// Toast.makeText(getActivity(),Comm
|
||||||
String.format(AppConstants.DEF_APP_LOCALE,
|
// String.format(AppConstants.DEF_APP_LOCALE,
|
||||||
"Fetching nearby places %.3f,%.3f",
|
// "Fetching nearby places %.3f,%.3f",
|
||||||
location.getLatitude(),
|
// location.getLatitude(),
|
||||||
location.getLongitude()),
|
// location.getLongitude()),
|
||||||
Toast.LENGTH_SHORT).show();
|
// Toast.LENGTH_SHORT).show();
|
||||||
|
|
||||||
|
|
||||||
GooglePlacesRequest request = new GooglePlacesRequest();
|
GooglePlacesRequest request = new GooglePlacesRequest();
|
||||||
|
|
|
@ -1,11 +1,14 @@
|
||||||
package pl.tpolgrabia.wikibinding.dto.generator;
|
package pl.tpolgrabia.wikibinding.dto.generator;
|
||||||
|
|
||||||
|
import com.google.gson.annotations.SerializedName;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by tpolgrabia on 01.11.16.
|
* Created by tpolgrabia on 01.11.16.
|
||||||
*/
|
*/
|
||||||
public class WikiQuery2 {
|
public class WikiQuery2 {
|
||||||
|
@SerializedName("pages")
|
||||||
private Map<Long, WikiPage> pages;
|
private Map<Long, WikiPage> pages;
|
||||||
|
|
||||||
public Map<Long, WikiPage> getPages() {
|
public Map<Long, WikiPage> getPages() {
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package pl.tpolgrabia.wikibinding.dto.generator;
|
package pl.tpolgrabia.wikibinding.dto.generator;
|
||||||
|
|
||||||
|
import com.google.gson.annotations.SerializedName;
|
||||||
import pl.tpolgrabia.wikibinding.dto.geosearch.WikiQuery;
|
import pl.tpolgrabia.wikibinding.dto.geosearch.WikiQuery;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
@ -11,7 +12,9 @@ import java.util.Map;
|
||||||
*/
|
*/
|
||||||
public class WikiResponse2 implements Serializable {
|
public class WikiResponse2 implements Serializable {
|
||||||
private static final long serialVersionUID = 2208673089408151268L;
|
private static final long serialVersionUID = 2208673089408151268L;
|
||||||
|
@SerializedName("batch_complete")
|
||||||
private Boolean batchComplete;
|
private Boolean batchComplete;
|
||||||
|
@SerializedName("query")
|
||||||
private WikiQuery2 query;
|
private WikiQuery2 query;
|
||||||
|
|
||||||
public Boolean getBatchComplete() {
|
public Boolean getBatchComplete() {
|
||||||
|
|
|
@ -1,10 +1,14 @@
|
||||||
package pl.tpolgrabia.wikibinding.dto.geosearch;
|
package pl.tpolgrabia.wikibinding.dto.geosearch;
|
||||||
|
|
||||||
|
import com.google.gson.annotations.SerializedName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by tpolgrabia on 05.09.16.
|
* Created by tpolgrabia on 05.09.16.
|
||||||
*/
|
*/
|
||||||
public class WikiGeoResponse2 {
|
public class WikiGeoResponse2 {
|
||||||
|
@SerializedName("batch_complete")
|
||||||
private Boolean batchComplete;
|
private Boolean batchComplete;
|
||||||
|
@SerializedName("query")
|
||||||
private WikiQuery query;
|
private WikiQuery query;
|
||||||
|
|
||||||
public Boolean getBatchComplete() {
|
public Boolean getBatchComplete() {
|
||||||
|
|
|
@ -1,11 +1,14 @@
|
||||||
package pl.tpolgrabia.wikibinding.dto.geosearch;
|
package pl.tpolgrabia.wikibinding.dto.geosearch;
|
||||||
|
|
||||||
|
import com.google.gson.annotations.SerializedName;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by tpolgrabia on 01.11.16.
|
* Created by tpolgrabia on 01.11.16.
|
||||||
*/
|
*/
|
||||||
public class WikiQuery {
|
public class WikiQuery {
|
||||||
|
@SerializedName("geosearch")
|
||||||
private List<WikiGeoObject> geosearch;
|
private List<WikiGeoObject> geosearch;
|
||||||
|
|
||||||
public List<WikiGeoObject> getGeosearch() {
|
public List<WikiGeoObject> getGeosearch() {
|
||||||
|
|
Loading…
Reference in New Issue