3

Can I write an Integer instead of an int when useing parceable?

I want something like this

out.writeInt(myInt);
out.writeInteger(myInteger);

and then

this.myInt = in.readInt();
this.myInteger = in.readInteger();

But I couldn't find anything on this. Is this possible in some way? If so, how?

Simon Andersson
  • 751
  • 1
  • 9
  • 29

0 Answers0