Skip to content

Visualizer Stop Playing when Call second time in a project #46

Description

@adilomatom

My Scenario is that I have two fragment
1st Fragment Show All Audios
2nd Fragment Show Recently Played Audios

Visualizer Show on Both Fragments of the recycler view Position of the currently playing item

` public void enableVisulizer(BarVisualizer barVisualizer) {

    barVisualizer.setVisibility(View.VISIBLE);
    barVisualizer.setColor(context.getResources().getColor(R.color.equalizerAnimatedColor));
    barVisualizer.setDensity(20);
    barVisualizer.setPlayer(PlayerService.exoPlayerSessionID);
}` 

This method is called the first time, then starts the visualizer, while calling from another fragment to start the visualizer at that position, then the visualizer gets stuck at the first position (stops playback).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions