2019-05-21 19:05:25 +02:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
2019-07-12 20:38:15 +02:00
|
|
|
* 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.home
|
2019-05-21 19:05:25 +02:00
|
|
|
|
|
|
|
import android.os.Parcelable
|
|
|
|
import androidx.lifecycle.ViewModel
|
|
|
|
|
|
|
|
class HomeScreenViewModel : ViewModel() {
|
|
|
|
var layoutManagerState: Parcelable? = null
|
2020-03-10 14:07:31 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Used to remember if we need to scroll to top of the homeFragment's recycleView (top sites) see #8561
|
|
|
|
* */
|
|
|
|
var shouldScrollToTopSites: Boolean = true
|
2019-05-21 19:05:25 +02:00
|
|
|
}
|