mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
docs: update JavaDoc for IViewGroupAdapter.computeChildIndex
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user