public interface SectionsDebugLogger
SectionTree
if they occur.Modifier and Type | Method and Description |
---|---|
void |
logDelete(String tag,
int index,
String thread)
fired when a component is being deleted
|
void |
logInsert(String tag,
int index,
RenderInfo renderInfo,
String thread)
fired when a component is being inserted
|
void |
logMove(String tag,
int fromPosition,
int toPosition,
String thread)
fired when a component is being moved
|
void |
logRequestFocus(String tag,
int index,
RenderInfo renderInfo,
String thread)
fired when a component is being focused
|
void |
logRequestFocusWithOffset(String tag,
int index,
int offset,
RenderInfo renderInfo,
String thread)
fired when a component is being focused
|
void |
logShouldUpdate(String tag,
Object previous,
Object next,
String previousPrefix,
String nextPrefix,
Boolean shouldUpdate,
String thread)
fired when determining if a section should re-compute changesets
|
void |
logUpdate(String tag,
int index,
RenderInfo renderInfo,
String thread)
fired when a component is being updated
|
void logInsert(String tag, int index, RenderInfo renderInfo, String thread)
tag
- tag defining component's section treeindex
- position in the recyclerviewrenderInfo
- component type that is being operated onthread
- name of thread that wanted to make this changevoid logUpdate(String tag, int index, RenderInfo renderInfo, String thread)
tag
- tag defining component's section treeindex
- position in the reyclerviewrenderInfo
- component type that is being operated onthread
- name of thread that wanted to make this changevoid logDelete(String tag, int index, String thread)
tag
- tag defining component's section treeindex
- position in the reyclerviewthread
- name of thread that wanted to make this changevoid logRequestFocus(String tag, int index, RenderInfo renderInfo, String thread)
tag
- tag defining component's section treeindex
- position in the reyclerviewrenderInfo
- component type that is being operated onthread
- name of thread that wanted to make this changevoid logRequestFocusWithOffset(String tag, int index, int offset, RenderInfo renderInfo, String thread)
tag
- tag defining component's section treeindex
- position in the reyclerviewoffset
- offset from index to scroll torenderInfo
- component type that is being operated onthread
- name of thread that wanted to make this changevoid logMove(String tag, int fromPosition, int toPosition, String thread)
tag
- tag defining component's section treefromPosition
- source indextoPosition
- destination indexthread
- name of thread that wanted to make this changevoid logShouldUpdate(String tag, Object previous, Object next, String previousPrefix, String nextPrefix, Boolean shouldUpdate, String thread)
tag
- tag defining component's section treeprevious
- previous section that's already madenext
- next section being builtpreviousPrefix
- string of component's prefixnextPrefix
- string of component's prefixshouldUpdate
- boolean value describing if previous & next are the samethread
- name of thread that wanted to make this change