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
/Users/Shared/EpicGames/UE_4.22/Engine/Build/BatchFiles/RunUAT.sh | |
BuildCookRun -nocompileeditor -nop4 -project=/Users/ann/Work/Unreal/TestBP/TestBP.uproject | |
-cook -stage -archive -archivedirectory=/Users/ann/Desktop/Build | |
-package -clientconfig=Shipping -ue4exe=UE4Editor -clean -compressed -pak -prereqs -distribution | |
-nodebuginfo -targetplatform=IOS -build -CrashReporter -utf8output |
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
/bin/sh /Users/Shared/EpicGames/UE_4.22/Engine/Build/BatchFiles/Mac/RunMono.sh | |
/Users/Shared/EpicGames/UE_4.22/Engine/Binaries/DotNET/IOS/IPhonePackager.exe | |
Validate Engine -project=/Users/ann/Work/Unreal/TestBP/TestBP.uproject | |
-bundlename ai.commeta.bundle |
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
public class GoodsContentProvider extends ContentProvider { | |
private DbHelper dbHelper; | |
private static final int GOODS = 1; | |
private static final int GOODS_GOOD = 2; | |
//-- | |
private static final int CATEGORIES = 7; | |
private static final int CATEGORIES_CATEGORY = 8; | |
//- |
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
var map: MutableMap<String, String> = HashMap() | |
map.put(str1, str2) | |
//or | |
var map = HashMap<String, String>() | |
map.put(str1, str2) |
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
var map: Map<String, String> = HashMap() | |
map.put(str1, str2) //uresolved reference: put |
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
String[] selectionArgs = new String[]{String.valueOf(id)}; |
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
val selectionArgs = arrayOf(id.toString()) |
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
fun Activity.toast(message: CharSequence, duration: Int = Toast.LENGTH_LONG) { | |
Toast.makeText(this, message, duration).show() | |
} |
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
import io.realm.RealmList | |
import io.realm.RealmObject | |
import io.realm.annotations.Ignore | |
import io.realm.annotations.PrimaryKey | |
// Your model has to extend RealmObject. Furthermore, the class and all of the | |
// properties must be annotated with open (Kotlin classes and methods are final | |
// by default). | |
open class Person( |