public abstract class Custom_recyclerView extends java.lang.Object implements androidx.appcompat.widget.SearchView.OnQueryTextListener, interface_search
Modifier and Type | Field and Description |
---|---|
protected AnalyticsFirebase |
analyticsFirebase |
protected org.json.JSONArray |
array |
protected org.json.JSONArray |
arrayAux |
protected int |
cantColumnas |
private int |
cantColumnnas |
protected int |
cantFilas |
protected SimpleItemTouchHelperCallback |
itemTouchHelperCallback |
protected Json |
json |
protected androidx.appcompat.app.AppCompatActivity |
mActivity |
protected com.google.firebase.auth.FirebaseAuth |
mAuth |
protected android.widget.PopupMenu.OnMenuItemClickListener |
menuClickListener |
protected androidx.recyclerview.widget.RecyclerView |
mRecyclerView |
protected androidx.appcompat.widget.SearchView |
mSearchView |
protected textToSpeech |
myTTS |
protected android.widget.PopupMenu |
popupMenu |
protected int |
posItem |
protected android.content.SharedPreferences |
sharedPrefsDefault |
private static java.lang.String |
TAG |
protected SubirArchivosFirebase |
uploadFirebaseFile |
Constructor and Description |
---|
Custom_recyclerView(androidx.appcompat.app.AppCompatActivity mActivity,
com.google.firebase.auth.FirebaseAuth mAuth) |
Modifier and Type | Method and Description |
---|---|
protected int |
calcularCantidadColumnas() |
int |
calcularCantidadFilas()
Return the number of rows
|
protected void |
createRecyclerLayoutManager() |
org.json.JSONArray |
getArray()
return the main JsonArray
|
org.json.JSONArray |
getArrayAux()
return the auxiliar JsonArray
|
androidx.recyclerview.widget.RecyclerView |
getmRecyclerView() |
boolean |
onQueryTextChange(java.lang.String s) |
boolean |
onQueryTextSubmit(java.lang.String query) |
private void |
recorrerListado(int k,
int tam,
java.lang.String query)
Analize the array and looking for the word
|
void |
scrollTo(boolean add)
Recycler view page scroll
|
void |
setMenuClickListener(android.widget.PopupMenu.OnMenuItemClickListener menuClickListener) |
void |
setMyTTS(textToSpeech myTTS) |
void |
setPopupMenu(android.widget.PopupMenu popupMenu) |
void |
setSearchView(androidx.appcompat.widget.SearchView searchView) |
void |
setSharedPrefsDefault(android.content.SharedPreferences sharedPrefsDefault) |
void |
setUploadFirebaseFile(SubirArchivosFirebase uploadFirebaseFile) |
void |
showRecyclerView(boolean show) |
void |
subirGrupos() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onPictosFiltrados, onPictosNoFiltrados
private static final java.lang.String TAG
protected androidx.appcompat.app.AppCompatActivity mActivity
protected androidx.recyclerview.widget.RecyclerView mRecyclerView
private int cantColumnnas
protected Json json
protected com.google.firebase.auth.FirebaseAuth mAuth
protected textToSpeech myTTS
protected android.content.SharedPreferences sharedPrefsDefault
protected android.widget.PopupMenu popupMenu
protected SubirArchivosFirebase uploadFirebaseFile
protected android.widget.PopupMenu.OnMenuItemClickListener menuClickListener
protected SimpleItemTouchHelperCallback itemTouchHelperCallback
protected androidx.appcompat.widget.SearchView mSearchView
protected org.json.JSONArray array
protected org.json.JSONArray arrayAux
protected int posItem
protected int cantColumnas
protected int cantFilas
protected AnalyticsFirebase analyticsFirebase
public Custom_recyclerView(androidx.appcompat.app.AppCompatActivity mActivity, com.google.firebase.auth.FirebaseAuth mAuth)
protected int calcularCantidadColumnas()
public void setPopupMenu(android.widget.PopupMenu popupMenu)
public void setSharedPrefsDefault(android.content.SharedPreferences sharedPrefsDefault)
public void setUploadFirebaseFile(SubirArchivosFirebase uploadFirebaseFile)
public void setMenuClickListener(android.widget.PopupMenu.OnMenuItemClickListener menuClickListener)
public void setMyTTS(textToSpeech myTTS)
public androidx.recyclerview.widget.RecyclerView getmRecyclerView()
public void showRecyclerView(boolean show)
protected void createRecyclerLayoutManager()
public void setSearchView(androidx.appcompat.widget.SearchView searchView)
public boolean onQueryTextSubmit(java.lang.String query)
onQueryTextSubmit
in interface androidx.appcompat.widget.SearchView.OnQueryTextListener
public boolean onQueryTextChange(java.lang.String s)
onQueryTextChange
in interface androidx.appcompat.widget.SearchView.OnQueryTextListener
private void recorrerListado(int k, int tam, java.lang.String query)
public void subirGrupos()
public org.json.JSONArray getArray()
public org.json.JSONArray getArrayAux()
public int calcularCantidadFilas()
public void scrollTo(boolean add)
add
-