Skip to content

Preference is causing crash when table is empty #84

Closed
@sonique6784

Description

Hi!

savePreferences() is causing crash when empty, cause not child can be found.

java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getLeft()' on a null object reference at com.evrencoskun.tableview.handler.ScrollHandler.getColumnPositionOffset(ScrollHandler.java:112) at com.evrencoskun.tableview.handler.PreferencesHandler.savePreferences(PreferencesHandler.java:43) at com.evrencoskun.tableview.TableView.onSaveInstanceState(TableView.java:730)

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