android: Prevent updating empty game list text on invalid view
This commit is contained in:
		@@ -99,6 +99,9 @@ class PlatformGamesFragment : Fragment(), PlatformGamesView {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private fun updateTextView() {
 | 
			
		||||
        if (_binding == null)
 | 
			
		||||
            return
 | 
			
		||||
 | 
			
		||||
        binding.gamelistEmptyText.visibility =
 | 
			
		||||
            if (adapter!!.itemCount == 0) View.VISIBLE else View.GONE
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user