Skip to content

Instantly share code, notes, and snippets.


Thalisson Estrela thalissondev-xx

View GitHub Profile
View gist:e0468427ef08980ad14c4ba26207203f
OkHttpClient.Builder httpClient = new OkHttpClient.Builder();
httpClient.addNetworkInterceptor(new AddHeaderInterceptor(activity, action, version));
Retrofit retrofit = new Retrofit.Builder()
Class test
View gist:a32d34e81938cf4f4038ed74ac72429e
/usr/include/php5/Zend/zend.h:283:15: warning: comma at end of enumerator list [-Wpedantic]
FAILURE = -1, /* this MUST stay a negative number, or it may affect functions! */
In file included from /tmp/pear/temp/cassandra/php_cassandra.h:455:0,
from /tmp/pear/temp/cassandra/php_cassandra.c:17:
/tmp/pear/temp/cassandra/php_cassandra_types.h:119:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
/tmp/pear/temp/cassandra/php_cassandra_types.h:120:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
View gist:c348d8a7690e634ca0fb
9122 TADEU TRANSPORTES Guarulhos Betim autopeças
12134 CHARQUEADAS TRANSPORTES Guarulhos Conselheiro Lafaiete FERRO, 5 TON
10102 TRANSNAIA Guarulhos Belo Horizonte BAU OU SIDER.
13207 DANI LOG AGÊNCIA Guarulhos Belo Horizonte DIVERSOS
9765 MELHOR LOGÍSTICA Guarulhos Belo Horizonte COMPLEMENTO
11738 RD EXPRESS Guarulhos Contagem linha marrom
13598 PREMIEX Guarulhos Belo Horizonte chapa de aço
13913 LPA ADC Guarulhos João Monlevade tubos de ferro.
View gist:7be5475505fa769addd5
public View getView(int position, View convertView, ViewGroup parent) {
ViewHolder holder;
// Pega os objetos do item da determinada posicao
String km = ((HashMap<String, String>) adaptador.getItem(position)).get("km").toString().trim();
String imagem = ((HashMap<String, String>) adaptador.getItem(position)).get("ivEmpresa").toString().trim();
String preco = ((HashMap<String, String>) adaptador.getItem(position)).get("precoCarga").toString().trim();
if (convertView == null) {