main
jun 12 months ago
parent d2fd1892ce
commit 4ced7422bd
  1. 2
      app/src/main/java/com/github/tvbox/osc/ui/adapter/GridAdapter.java
  2. 2
      gradle.properties

@ -48,7 +48,7 @@ public class GridAdapter extends BaseQuickAdapter<Movie.Video, BaseViewHolder> {
public GridAdapter(boolean showList, Style style) {
super( showList ? R.layout.item_list:R.layout.item_grid, new ArrayList<>());
this.mShowList = showList;
if(style.type.equals("list"))this.mShowList=true;
if(style!=null && style.type.equals("list"))this.mShowList=true;
this.style = style;
}

@ -17,5 +17,5 @@ android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
IsDebug=true
#????
#build on off
#org.gradle.jvmargs=-Xmx2048m --add-opens java.base/java.io=ALL-UNNAMED

Loading…
Cancel
Save