Skip navigation links
A B C D G H I L N O P R S U W 

A

AdapteeCollection<T> - Interface in com.pedrogomez.renderers
Interface created to represent the adaptee collection used in RendererAdapter and RVRendererAdapter.
add(T) - Method in interface com.pedrogomez.renderers.AdapteeCollection
Add a new element to the AdapteeCollection.
add(T) - Method in class com.pedrogomez.renderers.RendererAdapter
Add an element to the AdapteeCollection.
add(T) - Method in class com.pedrogomez.renderers.RVRendererAdapter
Add an element to the AdapteeCollection.
addAll(Collection<? extends T>) - Method in interface com.pedrogomez.renderers.AdapteeCollection
Add a element collection to the AdapteeCollection.
addAll(Collection<? extends T>) - Method in class com.pedrogomez.renderers.RendererAdapter
Add a Collection of elements to the AdapteeCollection.
addAll(Collection<? extends T>) - Method in class com.pedrogomez.renderers.RVRendererAdapter
Add a Collection of elements to the AdapteeCollection.

B

bind(Class<G>, Renderer<? extends G>) - Method in class com.pedrogomez.renderers.RendererBuilder
Given a class configures the binding between a class and a Renderer class.
bind(Class<G>, Class<? extends Renderer<? extends G>>) - Method in class com.pedrogomez.renderers.RendererBuilder
 
build() - Method in class com.pedrogomez.renderers.RendererBuilder
Main method of this class related to ListView widget.
buildRendererViewHolder() - Method in class com.pedrogomez.renderers.RendererBuilder
Main method of this class related to RecyclerView widget.

C

clear() - Method in interface com.pedrogomez.renderers.AdapteeCollection
Remove all element inside the AdapteeCollection.
clear() - Method in class com.pedrogomez.renderers.RendererAdapter
Remove all elements inside the AdapteeCollection.
clear() - Method in class com.pedrogomez.renderers.RVRendererAdapter
Remove all elements inside the AdapteeCollection.
com.pedrogomez.renderers - package com.pedrogomez.renderers
 
com.pedrogomez.renderers.exception - package com.pedrogomez.renderers.exception
 

D

diffUpdate(List<T>) - Method in class com.pedrogomez.renderers.RVRendererAdapter
Provides a ready to use diff update for our adapter based on the implementation of the standard equals method from Object.

G

get(int) - Method in interface com.pedrogomez.renderers.AdapteeCollection
Search an element using the index passed as argument.
getCollection() - Method in class com.pedrogomez.renderers.RendererAdapter
Allows the client code to access the AdapteeCollection from subtypes of RendererAdapter.
getCollection() - Method in class com.pedrogomez.renderers.RVRendererAdapter
Allows the client code to access the AdapteeCollection from subtypes of RendererAdapter.
getContent() - Method in class com.pedrogomez.renderers.Renderer
 
getContext() - Method in class com.pedrogomez.renderers.Renderer
Method to access to the current Renderer Context.
getCount() - Method in class com.pedrogomez.renderers.RendererAdapter
 
getItem(int) - Method in class com.pedrogomez.renderers.RendererAdapter
 
getItem(int) - Method in class com.pedrogomez.renderers.RVRendererAdapter
 
getItemCount() - Method in class com.pedrogomez.renderers.RVRendererAdapter
 
getItemId(int) - Method in class com.pedrogomez.renderers.RendererAdapter
 
getItemId(int) - Method in class com.pedrogomez.renderers.RVRendererAdapter
 
getItemViewType(int) - Method in class com.pedrogomez.renderers.RendererAdapter
Indicate to the ListView the type of Renderer used to one position using a numeric value.
getItemViewType(int) - Method in class com.pedrogomez.renderers.RVRendererAdapter
Indicate to the RecyclerView the type of Renderer used to one position using a numeric value.
getPrototypeClass(T) - Method in class com.pedrogomez.renderers.RendererBuilder
Method to be implemented by the RendererBuilder subtypes.
getPrototypes() - Method in class com.pedrogomez.renderers.RendererBuilder
Get access to the prototypes collection used to create one RendererBuilder.
getRenderer() - Method in class com.pedrogomez.renderers.RendererViewHolder
 
getRootView() - Method in class com.pedrogomez.renderers.Renderer
Method to access the root view rendered in the Renderer.
getView(int, View, ViewGroup) - Method in class com.pedrogomez.renderers.RendererAdapter
Main method of RendererAdapter.
getViewTypeCount() - Method in class com.pedrogomez.renderers.RendererAdapter
Indicate to the ListView the number of different how many Renderer implementations are in the RendererBuilder ready to use.

H

hookListeners(View) - Method in class com.pedrogomez.renderers.Renderer
Set all the listeners to members mapped in setUpView method.

I

inflate(LayoutInflater, ViewGroup) - Method in class com.pedrogomez.renderers.Renderer
Inflate renderer layout.

L

ListAdapteeCollection<T> - Class in com.pedrogomez.renderers
Generic AdapteeCollection implementation based on ArrayList.
ListAdapteeCollection() - Constructor for class com.pedrogomez.renderers.ListAdapteeCollection
 
ListAdapteeCollection(List<T>) - Constructor for class com.pedrogomez.renderers.ListAdapteeCollection
 

N

NeedsPrototypesException - Exception in com.pedrogomez.renderers.exception
Exception created to be thrown when a RendererBuilder be created or configured without any prototype.
NeedsPrototypesException(String) - Constructor for exception com.pedrogomez.renderers.exception.NeedsPrototypesException
 
NotInflateViewException - Exception in com.pedrogomez.renderers.exception
Exception created to be thrown when any renderer is not inflating a view.
NotInflateViewException(String) - Constructor for exception com.pedrogomez.renderers.exception.NotInflateViewException
 
NullContentException - Exception in com.pedrogomez.renderers.exception
Exception created to be thrown when a RendererBuilder is created without content.
NullContentException(String) - Constructor for exception com.pedrogomez.renderers.exception.NullContentException
 
NullLayoutInflaterException - Exception in com.pedrogomez.renderers.exception
Exception created to be thrown when a RendererBuilder is created without a LayoutInflater instance.
NullLayoutInflaterException(String) - Constructor for exception com.pedrogomez.renderers.exception.NullLayoutInflaterException
 
NullParentException - Exception in com.pedrogomez.renderers.exception
Exception created to be thrown when a RendererBuilder is created without parent.
NullParentException(String) - Constructor for exception com.pedrogomez.renderers.exception.NullParentException
 
NullPrototypeClassException - Exception in com.pedrogomez.renderers.exception
RendererException created to be thrown when the RendererBuilder implementation returns a null prototype class.
NullPrototypeClassException(String) - Constructor for exception com.pedrogomez.renderers.exception.NullPrototypeClassException
 
NullRendererBuiltException - Exception in com.pedrogomez.renderers.exception
Exception created to be thrown when a RendererBuilder returns a null Renderer instance.
NullRendererBuiltException(String) - Constructor for exception com.pedrogomez.renderers.exception.NullRendererBuiltException
 

O

onBindViewHolder(RendererViewHolder, int) - Method in class com.pedrogomez.renderers.RVRendererAdapter
Given a RendererViewHolder passed as argument and a position renders the view using the Renderer previously stored into the RendererViewHolder.
onCreate(T, LayoutInflater, ViewGroup) - Method in class com.pedrogomez.renderers.Renderer
Method called when the renderer is going to be created.
onCreateViewHolder(ViewGroup, int) - Method in class com.pedrogomez.renderers.RVRendererAdapter
One of the two main methods in this class.
onRecycle(T) - Method in class com.pedrogomez.renderers.Renderer
Method called when the Renderer has been recycled.

P

PrototypeNotFoundException - Exception in com.pedrogomez.renderers.exception
Exception created to be thrown when RendererBuilders returns one Renderer class not found in prototypes collection.
PrototypeNotFoundException(String) - Constructor for exception com.pedrogomez.renderers.exception.PrototypeNotFoundException
 

R

remove(Object) - Method in interface com.pedrogomez.renderers.AdapteeCollection
Remove one element from the AdapteeCollection.
remove(Object) - Method in class com.pedrogomez.renderers.RendererAdapter
Remove an element from the AdapteeCollection.
remove(Object) - Method in class com.pedrogomez.renderers.RVRendererAdapter
Remove an element from the AdapteeCollection.
removeAll(Collection<?>) - Method in interface com.pedrogomez.renderers.AdapteeCollection
Remove a element collection to the AdapteeCollection.
removeAll(Collection<?>) - Method in class com.pedrogomez.renderers.RendererAdapter
Remove a Collection of elements to the AdapteeCollection.
removeAll(Collection<?>) - Method in class com.pedrogomez.renderers.RVRendererAdapter
Remove a Collection of elements to the AdapteeCollection.
render() - Method in class com.pedrogomez.renderers.Renderer
Method where the presentation logic algorithm have to be declared or implemented.
Renderer<T> - Class in com.pedrogomez.renderers
Core class in this library.
Renderer() - Constructor for class com.pedrogomez.renderers.Renderer
 
RendererAdapter<T> - Class in com.pedrogomez.renderers
BaseAdapter created to work RendererBuilders and Renderer instances.
RendererAdapter(RendererBuilder<T>) - Constructor for class com.pedrogomez.renderers.RendererAdapter
 
RendererAdapter(RendererBuilder<T>, AdapteeCollection<T>) - Constructor for class com.pedrogomez.renderers.RendererAdapter
 
RendererBuilder<T> - Class in com.pedrogomez.renderers
Class created to work as builder for Renderer objects.
RendererBuilder() - Constructor for class com.pedrogomez.renderers.RendererBuilder
Initializes a RendererBuilder with an empty prototypes collection.
RendererBuilder(Renderer<T>) - Constructor for class com.pedrogomez.renderers.RendererBuilder
Initializes a RendererBuilder with just one prototype.
RendererBuilder(Collection<? extends Renderer<? extends T>>) - Constructor for class com.pedrogomez.renderers.RendererBuilder
Initializes a RendererBuilder with a list of prototypes.
RendererException - Exception in com.pedrogomez.renderers.exception
Top class in the renderer exception hierarchy.
RendererException(String) - Constructor for exception com.pedrogomez.renderers.exception.RendererException
 
RendererViewHolder - Class in com.pedrogomez.renderers
RecyclerView.ViewHolder extension created to be able to use Renderer classes in RecyclerView widgets.
RendererViewHolder(Renderer) - Constructor for class com.pedrogomez.renderers.RendererViewHolder
 
RVRendererAdapter<T> - Class in com.pedrogomez.renderers
RecyclerView.Adapter extension created to work RendererBuilders and Renderer instances.
RVRendererAdapter(RendererBuilder<T>) - Constructor for class com.pedrogomez.renderers.RVRendererAdapter
 
RVRendererAdapter(RendererBuilder<T>, AdapteeCollection<T>) - Constructor for class com.pedrogomez.renderers.RVRendererAdapter
 

S

setCollection(AdapteeCollection<T>) - Method in class com.pedrogomez.renderers.RendererAdapter
 
setCollection(AdapteeCollection<T>) - Method in class com.pedrogomez.renderers.RVRendererAdapter
 
setContent(T) - Method in class com.pedrogomez.renderers.Renderer
Configures the content stored in the Renderer.
setPrototypes(Collection<? extends Renderer<? extends T>>) - Method in class com.pedrogomez.renderers.RendererBuilder
Configure prototypes used as Renderer instances.
setUpView(View) - Method in class com.pedrogomez.renderers.Renderer
Map all the widgets from the rootView to Renderer members.
size() - Method in interface com.pedrogomez.renderers.AdapteeCollection
 

U

updateRendererExtraValues(T, Renderer<T>, int) - Method in class com.pedrogomez.renderers.RendererAdapter
Empty implementation created to allow the client code to extend this class without override getView method.
updateRendererExtraValues(T, Renderer<T>, int) - Method in class com.pedrogomez.renderers.RVRendererAdapter
Empty implementation created to allow the client code to extend this class without override getView method.

W

withConvertView(View) - Method in class com.pedrogomez.renderers.RendererBuilder
 
withPrototype(Renderer<? extends T>) - Method in class com.pedrogomez.renderers.RendererBuilder
Add a Renderer instance as prototype.
withPrototypes(Collection<? extends Renderer<? extends T>>) - Method in class com.pedrogomez.renderers.RendererBuilder
Configure prototypes used as Renderer instances.
A B C D G H I L N O P R S U W 
Skip navigation links