You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iceraven-browser/app/src/main/java/org/mozilla/fenix/tabstray/viewholders/PrivateBrowserTabViewHolder.kt

33 lines
931 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.tabstray.viewholders
import android.view.View
import org.mozilla.fenix.R
import org.mozilla.fenix.tabstray.TabsTrayInteractor
import org.mozilla.fenix.tabstray.TabsTrayStore
/**
* View holder for the private tabs tray list.
*/
class PrivateBrowserTabViewHolder(
containerView: View,
store: TabsTrayStore,
interactor: TabsTrayInteractor,
currentTabIndex: Int
) : BaseBrowserTabViewHolder(
containerView,
store,
interactor,
currentTabIndex
) {
override val emptyStringText: String
get() = itemView.resources.getString(R.string.no_private_tabs_description)
companion object {
const val LAYOUT_ID = R.layout.private_browser_tray_list
}
}