Bonjour,

je voudrais mettre un "if" dans cet Array
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
private static final XAPKFile[] xAPKS = {
            new XAPKFile(
                    true, // true signifies a main file
                    4003, // the version of the APK that the file was uploaded
                       // against
                    12970581L // the length of the file in bytes
            ),
            if(patchFile) new XAPKFile(
                    false, // false signifies a patch file
                    4, // the version of the APK that the patch file was uploaded
                       // against
                    512860L // the length of the patch file in bytes
            )   
    };
mais comment faire ?
merci