Skip to content

Commit

Permalink
playback dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrence Onodipe committed Apr 21, 2024
1 parent 0e525fb commit d60af31
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 9 deletions.
1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,18 @@ android {
}

dependencies {
//implementation project(':spotify-app-remote')
implementation 'com.spotify.android:auth:2.1.1'
implementation 'com.google.code.gson:gson:2.10.1'
//implementation 'com.google.code.gson:gson:2.10.1' // Gson dependency added here
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.11.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'com.google.firebase:firebase-auth:22.3.1'
implementation 'com.github.bumptech.glide:glide:4.12.0'
// Glide v4 uses this new annotation processor -- see https://bumptech.github.io/glide/doc/generatedapi.html
implementation files('../spotify-app-remote-release-0.8.0.aar')
annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
implementation 'com.google.firebase:firebase-database:20.3.1' // Replace with the latest version
implementation 'com.google.firebase:firebase-database:20.3.1'
implementation 'com.google.firebase:firebase-firestore:24.11.0'
implementation 'com.github.shts:StoriesProgressView:3.0.0'
testImplementation 'junit:junit:4.13.2'
Expand All @@ -50,4 +51,4 @@ dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9")
implementation("androidx.concurrent:concurrent-futures:1.1.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-guava:1.6.0")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import android.util.Log;

import com.google.firestore.v1.ArrayValue;
import com.google.gson.Gson;
/*import com.google.gson.Gson;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonObject;*/

import org.checkerframework.checker.units.qual.A;
import org.json.JSONArray;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
import com.example.spotifywrapped2340.SpotifyDataManagers.SpotifyManager;

import jp.shts.android.storiesprogressview.StoriesProgressView;

import com.spotify.android.appremote.*;
import com.spotify.android.appremote.api.SpotifyAppRemote;

public class TracksWrapped extends AppCompatActivity implements StoriesProgressView.StoriesListener{

Expand All @@ -24,13 +25,14 @@ public class TracksWrapped extends AppCompatActivity implements StoriesProgressV
private int currentIndex = 0;

private ImageView imageView;
private SpotifyAppRemote obj;


@Override
protected void onStart() {
super.onStart();
obj.getPlayerApi();
}

@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Expand All @@ -49,6 +51,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {




// if (SpotifyManager.getInstance(getApplicationContext()).topArtists.size() == 0) {

// }
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ dependencyResolutionManagement {
}

rootProject.name = "SpotifyWrapped2340"
include ':app'
include ':app', ':spotify-app-remote'
Binary file added spotify-app-remote-release-0.8.0.aar
Binary file not shown.

0 comments on commit d60af31

Please sign in to comment.