mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-05 21:55:24 +00:00
Space -> View
This commit is contained in:
parent
3f7247dc39
commit
cb361892cd
@ -16,8 +16,8 @@ import io.casey.musikcube.remote.ui.playqueue.fragment.PlayQueueFragment
|
||||
import io.casey.musikcube.remote.ui.settings.activity.*
|
||||
import io.casey.musikcube.remote.ui.shared.activity.BaseActivity
|
||||
import io.casey.musikcube.remote.ui.shared.fragment.BaseFragment
|
||||
import io.casey.musikcube.remote.ui.shared.mixin.MetadataProxyMixin
|
||||
import io.casey.musikcube.remote.ui.shared.mixin.ItemContextMenuMixin
|
||||
import io.casey.musikcube.remote.ui.shared.mixin.MetadataProxyMixin
|
||||
import io.casey.musikcube.remote.ui.shared.view.EmptyListView
|
||||
import io.casey.musikcube.remote.ui.tracks.activity.TrackListActivity
|
||||
import io.casey.musikcube.remote.ui.tracks.fragment.TrackListFragment
|
||||
|
@ -1,12 +1,12 @@
|
||||
package io.casey.musikcube.remote.service.gapless.db;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import androidx.room.Dao;
|
||||
import androidx.room.Insert;
|
||||
import androidx.room.OnConflictStrategy;
|
||||
import androidx.room.Query;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Dao
|
||||
public interface GaplessDao {
|
||||
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||
|
@ -1,12 +1,12 @@
|
||||
package io.casey.musikcube.remote.service.playback.impl.streaming.db;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import androidx.room.Dao;
|
||||
import androidx.room.Insert;
|
||||
import androidx.room.OnConflictStrategy;
|
||||
import androidx.room.Query;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Dao
|
||||
public interface OfflineTrackDao {
|
||||
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||
|
@ -22,8 +22,8 @@ import io.casey.musikcube.remote.ui.shared.extension.getLayoutId
|
||||
import io.casey.musikcube.remote.ui.shared.extension.getTitleOverride
|
||||
import io.casey.musikcube.remote.ui.shared.extension.setupDefaultRecyclerView
|
||||
import io.casey.musikcube.remote.ui.shared.fragment.BaseFragment
|
||||
import io.casey.musikcube.remote.ui.shared.mixin.MetadataProxyMixin
|
||||
import io.casey.musikcube.remote.ui.shared.mixin.ItemContextMenuMixin
|
||||
import io.casey.musikcube.remote.ui.shared.mixin.MetadataProxyMixin
|
||||
import io.casey.musikcube.remote.ui.shared.mixin.PlaybackMixin
|
||||
import io.casey.musikcube.remote.ui.shared.view.EmptyListView
|
||||
import io.casey.musikcube.remote.util.Debouncer
|
||||
|
@ -9,7 +9,6 @@ import io.casey.musikcube.remote.ui.category.constant.NavigationType
|
||||
import io.casey.musikcube.remote.ui.category.fragment.CategoryBrowseFragment
|
||||
import io.casey.musikcube.remote.ui.shared.activity.FragmentActivityWithTransport
|
||||
import io.casey.musikcube.remote.ui.shared.fragment.BaseFragment
|
||||
import io.casey.musikcube.remote.service.websocket.WebSocketService.State as SocketState
|
||||
|
||||
class CategoryBrowseActivity: FragmentActivityWithTransport() {
|
||||
private val category
|
||||
|
@ -28,8 +28,8 @@ import io.casey.musikcube.remote.ui.shared.extension.getLayoutId
|
||||
import io.casey.musikcube.remote.ui.shared.extension.getTitleOverride
|
||||
import io.casey.musikcube.remote.ui.shared.extension.setupDefaultRecyclerView
|
||||
import io.casey.musikcube.remote.ui.shared.fragment.BaseFragment
|
||||
import io.casey.musikcube.remote.ui.shared.mixin.MetadataProxyMixin
|
||||
import io.casey.musikcube.remote.ui.shared.mixin.ItemContextMenuMixin
|
||||
import io.casey.musikcube.remote.ui.shared.mixin.MetadataProxyMixin
|
||||
import io.casey.musikcube.remote.ui.shared.mixin.PlaybackMixin
|
||||
import io.casey.musikcube.remote.ui.shared.view.EmptyListView
|
||||
import io.casey.musikcube.remote.util.Debouncer
|
||||
|
@ -9,7 +9,6 @@ import android.net.Uri
|
||||
import android.os.Bundle
|
||||
import android.os.Environment
|
||||
import android.os.Handler
|
||||
import android.util.Log
|
||||
import android.view.View
|
||||
import android.widget.TextView
|
||||
import androidx.appcompat.app.AlertDialog
|
||||
|
@ -14,8 +14,8 @@ import io.casey.musikcube.remote.ui.shared.activity.ITitleProvider
|
||||
import io.casey.musikcube.remote.ui.shared.extension.getLayoutId
|
||||
import io.casey.musikcube.remote.ui.shared.extension.setupDefaultRecyclerView
|
||||
import io.casey.musikcube.remote.ui.shared.fragment.BaseFragment
|
||||
import io.casey.musikcube.remote.ui.shared.mixin.MetadataProxyMixin
|
||||
import io.casey.musikcube.remote.ui.shared.mixin.ItemContextMenuMixin
|
||||
import io.casey.musikcube.remote.ui.shared.mixin.MetadataProxyMixin
|
||||
import io.casey.musikcube.remote.ui.shared.mixin.PlaybackMixin
|
||||
import io.casey.musikcube.remote.ui.shared.model.DefaultSlidingWindow
|
||||
import io.casey.musikcube.remote.ui.shared.model.ITrackListSlidingWindow
|
||||
|
@ -1,12 +1,12 @@
|
||||
package io.casey.musikcube.remote.ui.settings.model;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import androidx.room.Dao;
|
||||
import androidx.room.Insert;
|
||||
import androidx.room.OnConflictStrategy;
|
||||
import androidx.room.Query;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Dao
|
||||
public interface ConnectionsDao {
|
||||
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||
|
@ -1,6 +1,5 @@
|
||||
package io.casey.musikcube.remote.ui.shared.extension
|
||||
|
||||
import android.app.Dialog
|
||||
import android.app.SearchManager
|
||||
import android.content.Context
|
||||
import android.content.Intent
|
||||
@ -11,7 +10,6 @@ import android.os.Handler
|
||||
import android.text.TextUtils
|
||||
import android.util.Base64
|
||||
import android.util.Log
|
||||
import android.util.TypedValue
|
||||
import android.view.Menu
|
||||
import android.view.View
|
||||
import android.view.inputmethod.InputMethodManager
|
||||
|
@ -18,8 +18,8 @@ import io.casey.musikcube.remote.ui.shared.activity.ITransportObserver
|
||||
import io.casey.musikcube.remote.ui.shared.constant.Shared
|
||||
import io.casey.musikcube.remote.ui.shared.extension.*
|
||||
import io.casey.musikcube.remote.ui.shared.fragment.BaseFragment
|
||||
import io.casey.musikcube.remote.ui.shared.mixin.MetadataProxyMixin
|
||||
import io.casey.musikcube.remote.ui.shared.mixin.ItemContextMenuMixin
|
||||
import io.casey.musikcube.remote.ui.shared.mixin.MetadataProxyMixin
|
||||
import io.casey.musikcube.remote.ui.shared.mixin.PlaybackMixin
|
||||
import io.casey.musikcube.remote.ui.shared.model.DefaultSlidingWindow
|
||||
import io.casey.musikcube.remote.ui.shared.model.ITrackListSlidingWindow
|
||||
|
@ -27,7 +27,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.legacy.widget.Space
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="2dp" />
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
android:text="@string/button_play_queue"
|
||||
android:transitionName="play_queue_transition"/>
|
||||
|
||||
<androidx.legacy.widget.Space
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="2dp" />
|
||||
|
||||
@ -60,7 +60,7 @@
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/button_artists"/>
|
||||
|
||||
<androidx.legacy.widget.Space
|
||||
<View
|
||||
android:layout_width="2dp"
|
||||
android:layout_height="0dp" />
|
||||
|
||||
@ -73,7 +73,7 @@
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/button_albums"/>
|
||||
|
||||
<androidx.legacy.widget.Space
|
||||
<View
|
||||
android:layout_width="2dp"
|
||||
android:layout_height="0dp" />
|
||||
|
||||
@ -86,7 +86,7 @@
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/button_tracks"/>
|
||||
|
||||
<androidx.legacy.widget.Space
|
||||
<View
|
||||
android:layout_width="2dp"
|
||||
android:layout_height="0dp" />
|
||||
|
||||
@ -118,7 +118,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/button_prev"/>
|
||||
|
||||
<androidx.legacy.widget.Space
|
||||
<View
|
||||
android:layout_width="2dp"
|
||||
android:layout_height="0dp" />
|
||||
|
||||
@ -130,7 +130,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/button_play"/>
|
||||
|
||||
<androidx.legacy.widget.Space
|
||||
<View
|
||||
android:layout_width="2dp"
|
||||
android:layout_height="0dp" />
|
||||
|
||||
@ -197,7 +197,7 @@
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/button_shuffle"/>
|
||||
|
||||
<androidx.legacy.widget.Space
|
||||
<View
|
||||
android:layout_width="2dp"
|
||||
android:layout_height="0dp" />
|
||||
|
||||
@ -209,7 +209,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/button_mute"/>
|
||||
|
||||
<androidx.legacy.widget.Space
|
||||
<View
|
||||
android:layout_width="2dp"
|
||||
android:layout_height="0dp" />
|
||||
|
||||
|
@ -44,7 +44,7 @@
|
||||
android:layout_weight="1.0"
|
||||
android:text="@string/button_revert"/>
|
||||
|
||||
<androidx.legacy.widget.Space
|
||||
<View
|
||||
android:layout_width="2dp"
|
||||
android:layout_height="0dp"/>
|
||||
|
||||
|
@ -100,7 +100,7 @@
|
||||
android:visibility="visible"
|
||||
android:text="@string/settings_disable_cert_validation"/>
|
||||
|
||||
<androidx.legacy.widget.Space
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="16dp"/>
|
||||
|
||||
@ -130,7 +130,7 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.legacy.widget.Space
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="16dp"/>
|
||||
|
||||
@ -147,7 +147,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="24dp"/>
|
||||
|
||||
<androidx.legacy.widget.Space
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="16dp"/>
|
||||
|
||||
@ -164,7 +164,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="24dp"/>
|
||||
|
||||
<androidx.legacy.widget.Space
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="16dp"/>
|
||||
|
||||
@ -181,7 +181,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="24dp"/>
|
||||
|
||||
<androidx.legacy.widget.Space
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="16dp"/>
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
android:layout_weight="1.0"
|
||||
android:text="@string/button_prev"/>
|
||||
|
||||
<androidx.legacy.widget.Space
|
||||
<View
|
||||
android:layout_width="2dp"
|
||||
android:layout_height="0dp"/>
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
android:layout_weight="1.0"
|
||||
android:text="@string/button_play"/>
|
||||
|
||||
<androidx.legacy.widget.Space
|
||||
<View
|
||||
android:layout_width="2dp"
|
||||
android:layout_height="0dp"/>
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.legacy.widget.Space
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="2dp"/>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user