Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Unable to resolved reference with BR.numberOfSets #27

@omeryounus

Description

@omeryounus

There is an error when loading project.

if (p1 == BR.numberOfSets) { // ---> gives error Unable to resolved reference with BR.numberOfSets
Log.d("saveTimePerWorkSet", "Saving number of sets preference")
val sharedPref =
getSharedPreferences(SHARED_PREFS_KEY, Context.MODE_PRIVATE) ?: return
sharedPref.edit().apply {
putInt(getString(R.string.prefs_numberOfSets), viewModel.numberOfSets[1])
commit()
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions