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
package neocom.dealerbook.models.layer.presenters; | |
import com.androidmapsextensions.GoogleMap; | |
import com.androidmapsextensions.TileOverlay; | |
import com.androidmapsextensions.TileOverlayOptions; | |
import com.google.android.gms.maps.model.LatLng; | |
import com.google.maps.android.heatmaps.HeatmapTileProvider; | |
import java.util.List; |
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
package neocom.dealerbook.models.layer.presenters; | |
import com.androidmapsextensions.GoogleMap; | |
import com.androidmapsextensions.TileOverlay; | |
import com.androidmapsextensions.TileOverlayOptions; | |
import com.cocoahero.android.geojson.Feature; | |
import com.cocoahero.android.geojson.FeatureCollection; | |
import com.cocoahero.android.geojson.GeoJSONObject; | |
import com.cocoahero.android.geojson.Point; | |
import com.google.android.gms.maps.model.LatLng; |
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
JsonArray dncValues = api.obterDadosLocalidades(dncValuesRequestBody); | |
for(JsonObject value : dncValues) |
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
package neocom.dealerbook.models.layer; | |
import android.os.AsyncTask; | |
import com.androidmapsextensions.GoogleMap; | |
import com.androidmapsextensions.utils.LatLngBoundsUtils; | |
import com.cocoahero.android.geojson.GeoJSON; | |
import com.google.android.gms.maps.Projection; | |
import com.google.android.gms.maps.model.LatLngBounds; |
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
package neocom.dealerbook.controller; | |
//... Imports | |
public class LoginActivity extends AppCompatActivity { | |
public void doLogin(View view){ | |
//.... Do Things | |
loginShortCut(); //Method don't run in production || To Remove on Proguard |
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
private API buildAPI(final String token) { | |
return new RestAdapter.Builder() | |
.setEndpoint(API.HOST) | |
.setRequestInterceptor(new RequestInterceptor() { | |
@Override | |
public void intercept(RequestFacade request) { | |
request.addHeader("Authorization", "Bearer " + token); | |
} | |
}) | |
.setLogLevel(RestAdapter.LogLevel.FULL) |
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
package neocom.dealerbook.model.loja; | |
import neocom.dealerbook.R; | |
/** | |
* Created by wviana on 19/06/15. | |
*/ | |
public class LojaDrawbleSupport { | |
public static int getLogoDrawble(String bandeira) { | |
int pin; |
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
package neocom.dealerbook.model.loja; | |
import neocom.dealerbook.R; | |
/** | |
* Created by wviana on 19/06/15. | |
*/ | |
public class LojaDrawbleSupport { | |
public static int getLogoDrawble(String bandeira) { | |
int pin; |
NewerOlder