docs: update JavaDoc for IViewGroupAdapter.computeChildIndex

This commit is contained in:
Akash Yadav
2023-05-27 19:43:30 +05:30
parent 823dea8929
commit 79cbcda75a
2 changed files with 4 additions and 0 deletions
@@ -37,6 +37,8 @@ interface IViewGroupAdapter {
* Compute the index of the child based on the given [x] and [y] coordinates
* of the drag event.
*
* @param parent The [IViewGroup] in which the child will be added.
* This is guaranteed to have at least one child view.
* @param x The X coordinate of the drag event.
* @param y The Y coordinate of the drag event.
* @return The index at which the new child must be added
@@ -48,6 +48,8 @@ interface LayoutStrategy {
* Compute the index of the child based on the given [x] and [y] coordinates
* of the drag event.
*
* @param parent The [IViewGroup] in which the child will be added.
* This is guaranteed to have at least one child view.
* @param x The X coordinate of the drag event.
* @param y The Y coordinate of the drag event.
* @return The index at which the new child must be added