Skip to content

Instantly share code, notes, and snippets.

@kogakure
kogakure / .gitignore
Last active December 17, 2023 08:21
Git: .gitignore file for LaTeX projects
*.acn
*.acr
*.alg
*.aux
*.bak
*.bbl
*.bcf
*.blg
*.brf
*.bst
@EsteveAguilera
EsteveAguilera / IgnoreAccentsArrayAdapter.java
Last active May 28, 2018 18:31
ArrayAdapter to use with Android AutoCompleteTextView or MultiAutoCompleteTextView that will ignore the accents for the completion suggestions. Based on the code from http://stackoverflow.com/questions/4869392/diacritics-international-characters-in-autocompletetextview
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.Filter;
import android.widget.Filterable;
import android.widget.TextView;