-
-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
27 changes: 27 additions & 0 deletions
27
app/src/main/java/com/hiroshi/cimoc/utils/interpretationUtils.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.hiroshi.cimoc.utils; | ||
|
||
import com.hiroshi.cimoc.model.Comic; | ||
import com.hiroshi.cimoc.source.CCMH; | ||
import com.hiroshi.cimoc.source.Cartoonmad; | ||
import com.hiroshi.cimoc.source.Comic18; | ||
import com.hiroshi.cimoc.source.CopyMH; | ||
import com.hiroshi.cimoc.source.MH50; | ||
import com.hiroshi.cimoc.source.Manhuatai; | ||
import com.hiroshi.cimoc.source.MiGu; | ||
import com.hiroshi.cimoc.source.Tencent; | ||
|
||
public class interpretationUtils { | ||
|
||
public static boolean isReverseOrder(Comic comic){ | ||
int type = comic.getSource(); | ||
return type == MH50.TYPE || | ||
type == MiGu.TYPE || | ||
type == CCMH.TYPE || | ||
type == Cartoonmad.TYPE || | ||
type == Comic18.TYPE || | ||
type == Manhuatai.TYPE || | ||
type == Tencent.TYPE || | ||
type == CopyMH.TYPE; | ||
} | ||
} | ||
|