Skip to content

Commit d344532

Browse files
author
Caitlin Bales (MSFT)
committed
Add Single case to cast float
1 parent fab1735 commit d344532

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GraphODataTemplateWriter/CodeHelpers/Android/TypeHelperAndroid.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ public static string GetTypeString(this OdcmType @type)
4444
return "com.google.gson.JsonElement";
4545
case "Binary":
4646
return "byte[]";
47+
case "Single":
48+
return "float";
4749
default:
4850
return @type.Name.ToUpperFirstChar();
4951
}

0 commit comments

Comments
 (0)