|
|
@ -41,7 +41,7 @@ class LibraryFragment : Fragment(R.layout.fragment_library) {
|
|
|
|
|
|
|
|
|
|
|
|
libraryHistory.setOnClickListener {
|
|
|
|
libraryHistory.setOnClickListener {
|
|
|
|
requireComponents.analytics.metrics
|
|
|
|
requireComponents.analytics.metrics
|
|
|
|
.track(Event.LibrarySelectedItem(view.context.getString(R.string.library_history)))
|
|
|
|
.track(Event.LibrarySelectedItem(Event.LibrarySelectedItem.LibraryItem.HISTORY))
|
|
|
|
nav(
|
|
|
|
nav(
|
|
|
|
R.id.libraryFragment,
|
|
|
|
R.id.libraryFragment,
|
|
|
|
LibraryFragmentDirections.actionLibraryFragmentToHistoryFragment()
|
|
|
|
LibraryFragmentDirections.actionLibraryFragmentToHistoryFragment()
|
|
|
@ -50,7 +50,7 @@ class LibraryFragment : Fragment(R.layout.fragment_library) {
|
|
|
|
|
|
|
|
|
|
|
|
libraryBookmarks.setOnClickListener {
|
|
|
|
libraryBookmarks.setOnClickListener {
|
|
|
|
requireComponents.analytics.metrics
|
|
|
|
requireComponents.analytics.metrics
|
|
|
|
.track(Event.LibrarySelectedItem(view.context.getString(R.string.library_bookmarks)))
|
|
|
|
.track(Event.LibrarySelectedItem(Event.LibrarySelectedItem.LibraryItem.BOOKMARKS))
|
|
|
|
nav(
|
|
|
|
nav(
|
|
|
|
R.id.libraryFragment,
|
|
|
|
R.id.libraryFragment,
|
|
|
|
LibraryFragmentDirections.actionLibraryFragmentToBookmarksFragment(BookmarkRoot.Mobile.id)
|
|
|
|
LibraryFragmentDirections.actionLibraryFragmentToBookmarksFragment(BookmarkRoot.Mobile.id)
|
|
|
|