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