Skip to content

Commit

Permalink
Music Player with Bottom Sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Jun 11, 2023
1 parent 15b011c commit 6fc5bc8
Show file tree
Hide file tree
Showing 19 changed files with 299 additions and 352 deletions.
42 changes: 22 additions & 20 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ plugins {

android {
namespace 'com.fa.beatify'
compileSdk 33
compileSdk 34

defaultConfig {
applicationId "com.fa.beatify"
minSdk 24
targetSdk 33
targetSdk 34
versionCode 1
versionName "1.0"

Expand Down Expand Up @@ -49,37 +49,39 @@ android {
apply plugin: "kotlin-kapt"

dependencies {
def coil_version = "2.3.0"
def retrofit_version = "2.9.0"
def viewmodel_version = "2.7.0-alpha01"
def livedata_version = "1.5.0-alpha04"
def room_version = "2.5.1"
def material_ver = "1.1.0"
def coil_ver = '2.4.0'
def retrofit_ver = "2.9.0"
def vm_ver = '2.7.0-beta01'
def livedata_ver = '1.5.0-beta02'
def room_ver = "2.5.1"

implementation 'androidx.core:core-ktx:1.10.1'
//noinspection GradleDynamicVersion
implementation 'androidx.core:core-ktx:+'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1'
implementation 'androidx.activity:activity-compose:1.7.2'
implementation platform('androidx.compose:compose-bom:2022.10.00')
implementation platform('androidx.compose:compose-bom:2023.06.00')
implementation 'androidx.compose.ui:ui'
implementation 'androidx.compose.ui:ui-graphics'
implementation 'androidx.compose.ui:ui-tooling-preview'
implementation 'androidx.compose.material3:material3'
implementation "androidx.compose.material3:material3:$material_ver"
implementation "com.google.accompanist:accompanist-systemuicontroller:0.31.3-beta"
implementation "androidx.core:core-splashscreen:1.0.1"
implementation "androidx.navigation:navigation-compose:2.7.0-beta01"
implementation "io.coil-kt:coil-compose:$coil_version"
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
implementation "com.squareup.retrofit2:converter-gson:$retrofit_version"
implementation "io.coil-kt:coil-compose:$coil_ver"
implementation "com.squareup.retrofit2:retrofit:$retrofit_ver"
implementation "com.squareup.retrofit2:converter-gson:$retrofit_ver"
implementation "com.google.code.gson:gson:2.10.1"
implementation "androidx.navigation:navigation-compose:$viewmodel_version"
implementation "androidx.compose.runtime:runtime-livedata:$livedata_version"
implementation "androidx.room:room-runtime:$room_version"
implementation "androidx.room:room-ktx:$room_version"
kapt "androidx.room:room-compiler:$room_version"
implementation "androidx.navigation:navigation-compose:$vm_ver"
implementation "androidx.compose.runtime:runtime-livedata:$livedata_ver"
implementation "androidx.room:room-runtime:$room_ver"
implementation "androidx.room:room-ktx:$room_ver"
kapt "androidx.room:room-compiler:$room_ver"
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
androidTestImplementation platform('androidx.compose:compose-bom:2022.10.00')
androidTestImplementation platform('androidx.compose:compose-bom:2023.06.00')
androidTestImplementation 'androidx.compose.ui:ui-test-junit4'
debugImplementation 'androidx.compose.ui:ui-tooling'
debugImplementation 'androidx.compose.ui:ui-test-manifest'
debugImplementation 'androidx.compose.ui:ui-test-manifest:1.5.0-beta02'
}
11 changes: 8 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,22 @@
tools:targetApi="31">
<activity
android:name=".activities.MainActivity"
android:enabled="false"
android:enabled="true"
android:exported="true"
android:theme="@style/Theme.Beatify.Splash">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<service
android:enabled="true"
android:exported="false"
android:name=".services.MusicPlayer" />

<activity-alias
<!--<activity-alias
android:name=".alias.LtMode"
android:enabled="true"
android:exported="true"
Expand Down Expand Up @@ -58,7 +63,7 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias>
</activity-alias>-->

</application>

Expand Down
Binary file modified app/src/main/assets/likes.sqlite
Binary file not shown.
Loading

0 comments on commit 6fc5bc8

Please sign in to comment.