Skip to content

Request: add inspection to save the result of Cursor.getColumnIndex , especially when done in a loop  #44

@AndroidDeveloperLB

Description

@AndroidDeveloperLB

Requested here too:
https://issuetracker.google.com/issues/264071290

Also, when offering a name, try to offer multiple options based on what's given into getColumnIndex .

For example, if I use:
val contactRowId = cursor.getString(cursor.getColumnIndex(SomeTable.COLUMN_NAME_CONTACT_ROW_ID))

So maybe it should offer this as a first suggestion:
contactRowIdColumnIndex

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions