Android nestedScrollView + tabLayout + viewPager + recyclerView layout sliding conflict and make paging3 load more invalid alternative solutions

Recently, there was a demand that the customer wanted to add a drop-down refresh function. I see, this is not very simple. The SmartRefreshLayout control is introduced, and the layout can be written with a few swipes. This is the main layout: <?xml version="1.0" encoding="utf-8"?> <com.ggh.michat.widget.PagingRecyclerViewContainer xm ...

Posted by andrewburgess on Wed, 09 Mar 2022 10:36:52 +0100

Dead loop drawing problem caused by ViewPager in Android x

brief introduction Recently, when the project was upgraded to Android x, some problems suddenly appeared. The onStop and onDestroy of Activity became very slow, almost ten seconds, resulting in abnormal performance of some pages. So we started to solve this problem. Find the reason Causes of onStop and onDestroy callback delays Let's fi ...

Posted by jmelnick on Sun, 30 Jan 2022 14:58:19 +0100

The Android MVVM framework builds TabLayout, ViewPager, city map and weather switching

preface     in the previous article, we completed the use of Gaode map and the display of map weather. Now we can view the current local weather on the map. In this paper, we will switch other cities in China, move the map and query the weather. At the same time, reload the Fragment in the Fragment, and switch through TabLayout a ...

Posted by hazel999 on Thu, 30 Dec 2021 21:54:50 +0100