@Override
	public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
		super.onViewCreated(view, savedInstanceState);
		audioVisualization = (AudioVisualization) view;
		audioVisualization.linkTo(DbmHandler.Factory.newVisualizerHandler(getContext(), 0));
	}
Fragment with visualization of audio output.
app/src/main/java/com/cleveroad/example/AudioVisualizationFragment.java