mirror of
				https://codeberg.org/tom79/Fedilab.git
				synced 2025-10-20 11:20:16 +03:00 
			
		
		
		
	Fix fetch more size
This commit is contained in:
		
							parent
							
								
									0fad05c049
								
							
						
					
					
						commit
						7cb1e2d920
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -2631,6 +2631,8 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> | ||||||
|         if (status.isFetchMore && fetchMoreCallBack != null) { |         if (status.isFetchMore && fetchMoreCallBack != null) { | ||||||
|             if (!autofetch) { |             if (!autofetch) { | ||||||
|                 DrawerFetchMoreBinding drawerFetchMoreBinding = DrawerFetchMoreBinding.inflate(LayoutInflater.from(context)); |                 DrawerFetchMoreBinding drawerFetchMoreBinding = DrawerFetchMoreBinding.inflate(LayoutInflater.from(context)); | ||||||
|  |                 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT); | ||||||
|  |                 drawerFetchMoreBinding.fetchMoreContainer.setLayoutParams(lp); | ||||||
|                 if (status.positionFetchMore == Status.PositionFetchMore.BOTTOM) { |                 if (status.positionFetchMore == Status.PositionFetchMore.BOTTOM) { | ||||||
|                     holder.binding.fetchMoreContainerBottom.setVisibility(View.GONE); |                     holder.binding.fetchMoreContainerBottom.setVisibility(View.GONE); | ||||||
|                     holder.binding.fetchMoreContainerTop.setVisibility(View.VISIBLE); |                     holder.binding.fetchMoreContainerTop.setVisibility(View.VISIBLE); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue