Alex

Results 2 issues of Alex

> java.lang.IllegalStateException > at android.media.MediaCodec.dequeueOutputBuffer(Native Method) > at net.ypresto.androidtranscoder.engine.VideoTrackTranscoder.drainDecoder(VideoTrackTranscoder.java:171) > at net.ypresto.androidtranscoder.engine.VideoTrackTranscoder.stepPipeline(VideoTrackTranscoder.java:107) > at net.ypresto.androidtranscoder.engine.MediaTranscoderEngine.runPipelines(MediaTranscoderEngine.java:191) > at net.ypresto.androidtranscoder.engine.MediaTranscoderEngine.transcodeVideo(MediaTranscoderEngine.java:97) /** \* Dequeue an output buffer, block at most "timeoutUs" microseconds. \*...

1、添加[SwipeViewFactory](https://github.com/liyzay/SwipeToLoadLayout/blob/master/library/src/main/java/com/aspsine/swipetoloadlayout/SwipeViewFactory.java)接口,用于生成HeaderView和FooterView,需要自定义HeaderView和FooterView的话实现SwipeViewFactory接口再调用[setSwipeViewFactory](https://github.com/liyzay/SwipeToLoadLayout/blob/master/library/src/main/java/com/aspsine/swipetoloadlayout/SwipeToLoadLayout.java#L696)即可 2、添加内置的Google Style的HeaderView和FooterView(SwipeToLoadLayout默认使用[GoogleStyleSwipeViewFactory](https://github.com/liyzay/SwipeToLoadLayout/blob/master/library/src/main/java/com/aspsine/swipetoloadlayout/GoogleStyleSwipeViewFactory.java))