Skip to content

Instantly share code, notes, and snippets.

@r4zzz4k
Last active December 20, 2019 21:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r4zzz4k/b699a37bc9516ae1eff5c09de2950f5e to your computer and use it in GitHub Desktop.
Save r4zzz4k/b699a37bc9516ae1eff5c09de2950f5e to your computer and use it in GitHub Desktop.
Inkremental metadata sample
{
"name": "Sdk",
"views": [
{
"name": "FragmentBreadCrumbs",
"plainType": {
"type": "class",
"canonicalName": "android.app.FragmentBreadCrumbs"
},
"attrs": [
{
"name": "activity",
"setterName": "setActivity",
"type": {
"name": "Activity",
"plainType": {
"canonicalName": "android.app.Activity"
},
"functions": [
{
"name": "addContentView",
"parameters": [
{
"name": "arg0",
"type": {
"type": "class",
"canonicalName": "android.view.View"
}
},
{
"name": "arg1",
"type": {
"type": "class",
"canonicalName": "android.view.ViewGroup.LayoutParams"
}
}
],
"returnType": {
"type": "class",
"canonicalName": "kotlin.Unit"
}
},
{
"name": "closeContextMenu",
"parameters": [
],
"returnType": {
"type": "class",
"canonicalName": "kotlin.Unit"
}
},
{
"name": "closeOptionsMenu",
"parameters": [
],
"returnType": {
"type": "class",
"canonicalName": "kotlin.Unit"
}
},
{
"name": "createPendingResult",
"parameters": [
{
"name": "arg0",
"type": {
"type": "class",
"canonicalName": "kotlin.Int"
}
},
{
"name": "arg1",
"type": {
"type": "class",
"canonicalName": "android.content.Intent"
}
},
{
"name": "arg2",
"type": {
"type": "class",
"canonicalName": "kotlin.Int"
}
}
],
"returnType": {
"type": "class",
"canonicalName": "android.app.PendingIntent"
}
},
{
"name": "dismissDialog",
"parameters": [
{
"name": "arg0",
"type": {
"type": "class",
"canonicalName": "kotlin.Int"
}
}
],
"returnType": {
"type": "class",
"canonicalName": "kotlin.Unit"
}
},
{
"name": "dispatchGenericMotionEvent",
"parameters": [
{
"name": "arg0",
"type": {
"type": "class",
"canonicalName": "android.view.MotionEvent"
}
}
],
"returnType": {
"type": "class",
"canonicalName": "kotlin.Boolean"
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment