Use version 3.0.0 of AndroidSlidingUpPanel to fix #371

This commit is contained in:
Daniel Schaal 2015-07-22 20:06:12 +02:00
parent 00f7897159
commit 15e259b814
2 changed files with 2 additions and 7 deletions

View file

@ -57,7 +57,7 @@ dependencies {
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.4'
compile 'com.google.code.gson:gson:2.3.1'
compile 'com.jakewharton:butterknife:5.1.+'
compile 'com.sothree.slidinguppanel:library:+'
compile 'com.sothree.slidinguppanel:library:3.0.0'
compile 'de.greenrobot:eventbus:2.2.1'
compile 'de.greenrobot:greendao:1.3.7@jar'
compile 'de.greenrobot:greendao-generator:1.3.1@jar'

View file

@ -222,12 +222,7 @@ public class PodcastFragmentActivity extends AppCompatActivity implements IPlayP
.commitAllowingStateLoss();
if(!currentlyPlaying)
sliding_layout.post(new Runnable() {
@Override
public void run() {
sliding_layout.setPanelHeight(0);
}
});
sliding_layout.setPanelHeight(0);
}
boolean currentlyPlaying = false;