Log.v(“ThreeTips”, “#3”)

Mert SIMSEK
1 min readSep 8, 2016

--

1- Bundle has a limit

You should keep your bundle size relatively small. Because bundle has a limit.

The Binder transaction buffer has a limited fixed size, currently 1Mb, which is shared by all transactions in progress for the process. Consequently this exception can be thrown when there are many transactions in progress even when most of the individual transactions are of moderate size.

My solution was writing data to shared preferences then reading it in next Activity’s onCreate. If you have any suggestion for me please don’t hesitate.

2– Support Library 24.2.0 anchoring problem

As you already know Support Library 24.2.0 is brand new. After updating my support library to 24.2.0, I got some error in my activity which has Floating Action Button. According to this issue, You can not anchor to nested child of coordinator layout. Anchored view should be direct child of coordinator layout. I hope they fix that asap.

3- ViewPager does not have OnClickListener

Viewpager does not have onClickListener. Here is the way how you can do that;

References

https://developer.android.com/reference/android/os/TransactionTooLargeException.html

https://code.google.com/p/android/issues/detail?id=220250

http://stackoverflow.com/questions/10243690/onclick-on-viewpager-not-triggered

--

--

Mert SIMSEK
Mert SIMSEK

No responses yet