19 lines
575 B
Kotlin
19 lines
575 B
Kotlin
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
package org.mozilla.fenix.library.bookmarks
|
|
|
|
import androidx.lifecycle.ViewModel
|
|
import mozilla.components.concept.storage.BookmarkNode
|
|
|
|
/**
|
|
* [ViewModel] that shares data between various bookmarks fragments.
|
|
*/
|
|
class BookmarksSharedViewModel : ViewModel() {
|
|
/**
|
|
* The currently selected bookmark root.
|
|
*/
|
|
var selectedFolder: BookmarkNode? = null
|
|
}
|