Hi,
I'm using ZoomImageView to show an PNG Image.
The image is showed but when I try to zooming the app closes.
The problem only happens on that situation in a specific mobile when it doesn't on the rest.
Any idea?
Thank you very much in advance
Small video here
My code:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
			
			I'm using ZoomImageView to show an PNG Image.
The image is showed but when I try to zooming the app closes.
The problem only happens on that situation in a specific mobile when it doesn't on the rest.
Any idea?
Thank you very much in advance
Small video here
My code:
			
				B4X:
			
		
		
		Sub Class_Globals
    Private Root As B4XView 'ignore
    Private xui As XUI 'ignore
    Private Img1 As String
    Private ZoomIMGView As ZoomImageView
    Private PrimeraVez As Boolean
End Sub
'You can add more parameters here.
Public Sub Initialize As Object
    Return Me
End Sub
'This event will be called once, before the page becomes visible.
Private Sub B4XPage_Created (Root1 As B4XView)
    Root = Root1
    Root.LoadLayout("LytZoomImage")
    PrimeraVez = True
    Img1 = B4XPages.MainPage.ImagenACargar
    mostrar
End Sub
Sub mostrar
    ZoomIMGView.SetBitmap(xui.LoadBitmap(B4XPages.MainPage.PathACargar,B4XPages.MainPage.ImagenACargar))
End Sub
PUBLIC Sub B4XPage_Appear
    If Not(PrimeraVez) Then
        Img1 = B4XPages.MainPage.ImagenACargar
        mostrar
    Else
        PrimeraVez = False
    End If
End Sub
			
				Last edited: 
			
		
	
								
								
									
	
								
							
							 
				 
 
		 
 
		 
 
		 
 
		