anonym24

Results 71 comments of anonym24

I have added only 5 sliders: https://github.com/daimajia/AndroidImageSlider/blob/master/library/src/main/java/com/daimajia/slider/library/Tricks/ViewPagerEx.java#L845 ``` ItemInfo addNewItem(int position, int index) { ItemInfo ii = new ItemInfo(); ii.position = position; ii.object = mAdapter.instantiateItem(this, position); Log.i(TAG, "mAdapter.instantiateItem: " +...

seems something wrong with indicators, I just removed many things from your library: code with logic for indicators, some xml/attrs for indicators, description (text views), so I'm just left with...

And when I run `mMediaPlayer.prepareAsync();` in new Thread, then everything is ok, but I don't think this is a normal solution, this should work without creating any new threads (like...

@h6ah4i for me my own project seems to be working ok now, not sure what happened I tried 0.7.3 & 0.7.5 and both worked ok. I'll let you know if...

I guess I quite understood the problem, so mb it really because of calling such methods like `.getDuration` , `.getCurrentPosition` in the wrong state (e.g. before source/song was prepared). And...

yes, now I'm sure. If we for example call `mMediaPlayer.getCurrentPosition()` while something is being prepared async (with `prepareAsync` method), `OpenslMediaPlayer` will call `onError` and `onCompletion` and will NOT call `onPrepared`....

@SluggedGerm2 yeah I did exactly the same :)

Yeah I see the difference (I compiled one project with current library and one with library from [feature/improve_play_pause_response](https://github.com/h6ah4i/android-openslmediaplayer/tree/feature/improve_play_pause_response)) In previous library the biggest _delay before pause_ had HybridMediaPlayerFactory (OpenSLMediaPlayerFactory was...