Skip to content

Instantly share code, notes, and snippets.

View EleLawliet's full-sized avatar

Wilmer Vera González EleLawliet

View GitHub Profile
@EleLawliet
EleLawliet / MaterialesAdapterLV.java
Last active February 5, 2018 21:17
Tengo un pequeño error con este adaptador y la verdad no se que puede estar mal, si tendrían la amabilidad de ayudarme, les quedo totalmente agradecido.El error es que al llenar el EditText y hacer scroll en la lista, el dato antes llenado se duplica para todos los items de la lista.
package ec.telconet.mobile.telcos.operaciones.adapters;
import android.app.Activity;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
@EleLawliet
EleLawliet / Activity
Created July 22, 2016 21:08
Spinner Con Data // ID - VALOR
public class ConsultaEstadoTramiteActivity extends BaseActivity implements AdapterView.OnItemSelectedListener, View.OnClickListener {
private Spinner spinnerRegistromercantil;
public List<DatoGenerico> lista1;
private CustomAdapter customAdapter;
@Override
protected void onCreate(Bundle savedInstanceState) {
//No le pares bola a esto, tu utiliza lo que normalmente se utiliza aqui que es SetContentView(R.....);
@EleLawliet
EleLawliet / Class Dependenci
Created July 20, 2016 19:46
YoutubePlayerView Example.
dependencies {
...
compile 'com.jaedongchicken:ytplayer:1.2.0'
}
@EleLawliet
EleLawliet / Message Error
Created July 20, 2016 16:54
Problemas con el Build.
Error:The number of method references in a .dex file cannot exceed 64K.
Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html
:app:transformClassesWithDexForDebug FAILED
Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_65\bin\java.exe'' finished with non-zero exit value 2