1

I am using the Parse Android SDK and I have an objectId as a String and I want to convert it to a ParseObject what is the best way either in Kotlin or Java?

Tom Fox
  • 897
  • 3
  • 14
  • 34
Zacktamondo
  • 1,891
  • 3
  • 17
  • 33

1 Answers1

0

You can create a ParseObject with just the objectId and class name using the method shown below...

ParseObject.createWithoutData("ClassName", "objectId")

You will need to use the fetchIfNeededInBackground() function to fetch the data for the ParseObject if you require it.

Tom Fox
  • 897
  • 3
  • 14
  • 34