Skip to content

Instantly share code, notes, and snippets.

Wesley Viana wviana

Block or report user

Report or block wviana

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View LojaDrawbleSuppor.java
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;
View LojaDrawbleSupport.java
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;
View requestMethod.java
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)
View LoginActivity.java
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
View Layer.java
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;
View 123.java
JsonArray dncValues = api.obterDadosLocalidades(dncValuesRequestBody);
for(JsonObject value : dncValues)
View GeoJsonHeatPresenter.java
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;
View HeatPresenter.java
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;
View proguard.log
Note: there were 5 references to unknown classes.
You should check your configuration for typos.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unknownclass)
Note: there were 3 classes trying to access enclosing classes using reflection.
You should consider keeping the inner classes attributes
(using '-keepattributes InnerClasses').
(http://proguard.sourceforge.net/manual/troubleshooting.html#attributes)
Note: there were 208 unkept descriptor classes in kept class members.
You should consider explicitly keeping the mentioned classes
(using '-keep').
View proguard-rules.pro
-assumenosideeffects class android.util.Log {
public static boolean isLoggable(java.lang.String, int);
public static int v(...);
public static int i(...);
public static int w(...);
public static int d(...);
public static int e(...);
}
You can’t perform that action at this time.