Add search and watch history * Make MainActicity a single task * Remove some casting * SearchFragment: start searching when created with query * Handle settings change in onResume * History: Log pop up and background playback * History: Add swipe to remove functionallity * Enable history by default * Use stream item * Store more information about the stream * Integrate history database into AppDatabase * Remove redundant casts * Re-enable date converters * History: Use Rx Java and run DB in background * Also make HistoryDAO extend BasicDAO * History: RX-ify swipe to remove * Sort history entries by creation date * History: Set toolbar title * Don't repeat history entries * Introduced setters so we can update entries in the database * If the latest entry has the same (main) values, just update it
25 lines
No EOL
808 B
XML
25 lines
No EOL
808 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<item android:id="@+id/action_show_downloads"
|
|
android:orderInCategory="980"
|
|
android:title="@string/downloads"
|
|
app:showAsAction="never"/>
|
|
|
|
<item android:id="@+id/action_history"
|
|
android:orderInCategory="981"
|
|
android:title="@string/action_history"
|
|
app:showAsAction="never"/>
|
|
|
|
<item android:id="@+id/action_settings"
|
|
android:orderInCategory="990"
|
|
android:title="@string/settings"
|
|
app:showAsAction="never"/>
|
|
|
|
|
|
<item android:id="@+id/action_about"
|
|
android:orderInCategory="1000"
|
|
android:title="@string/action_about" />
|
|
|
|
</menu> |