This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running? | |
E/AndroidRuntime(29449): at android.view.ViewRootImpl.setView(ViewRootImpl.java:579) | |
E/AndroidRuntime(29449): at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:272) | |
E/AndroidRuntime(29449): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69) | |
E/AndroidRuntime(29449): at android.widget.MediaController.show(MediaController.java:354) | |
E/AndroidRuntime(29449): at android.widget.MediaController.show(MediaController.java:314) | |
E/AndroidRuntime(29449): at com.globo.player.Player.showMediaControls(Unknown Source) | |
E/AndroidRuntime(29449): at com.globo.player.Player.c(Unknown Source) | |
E/AndroidRuntime(29449): at com.globo.player.d.start(Unknown Source) | |
E/AndroidRuntime(29449): at com.globo.player.d.onPrepared(Unknown Source) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.gradle.jvmargs=-Xmx2048m -XX\:MaxPermSize\=512m -XX\:+HeapDumpOnOutOfMemoryError -Dfile.encoding\=UTF-8 | |
org.gradle.daemon=true | |
org.gradle.configureondemand=true% | |
org.gradle.parallel=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ExpandableLayoutManager extends LinearLayoutManager { | |
public ExpandableLayoutManager(Context context, int orientation, boolean reverseLayout) { | |
super(context, orientation, reverseLayout); | |
} | |
private int[] mMeasuredDimension = new int[2]; | |
@Override | |
public void onMeasure(RecyclerView.Recycler recycler, RecyclerView.State state, |
OlderNewer