Skip to content

Instantly share code, notes, and snippets.

/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
/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
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;
//-
var map: MutableMap<String, String> = HashMap()
map.put(str1, str2)
//or
var map = HashMap<String, String>()
map.put(str1, str2)
var map: Map<String, String> = HashMap()
map.put(str1, str2) //uresolved reference: put
String[] selectionArgs = new String[]{String.valueOf(id)};
val selectionArgs = arrayOf(id.toString())
fun Activity.toast(message: CharSequence, duration: Int = Toast.LENGTH_LONG) {
Toast.makeText(this, message, duration).show()
}
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(