Is it possible to send a large array through Intent?

I want to send a large array from one intention to another. An array contains so many elements (about 50-100). So I want to know good programming practice for sending large arrays like these. Will this affect the performance of my application?

+4
source share
2 answers

Yes, this affects performance and is directly proportional to the size of the intent data, the mobile device has a small heap size and in the target data still in the activity object, until it is destroyed, the intention is mainly due to the loss of communication in the Java code for the activity classes.

+5

.

-1

Source: https://habr.com/ru/post/1621647/


All Articles