Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MMVM Use #5

Open
muhammetsahin opened this issue May 29, 2018 · 4 comments
Open

MMVM Use #5

muhammetsahin opened this issue May 29, 2018 · 4 comments

Comments

@muhammetsahin
Copy link

Hi,

How can I use mvvm design pattern (like prism.forms)?

Thanks.

@candidodmv
Copy link

candidodmv commented Jul 17, 2018

Hi @muhammetsahin I also use MVVM pattern and think an approach that can be used is: create an page that will contain a list of all images(gallery) and when touch in any of them you instance PhotoBrowser passing the list of your gallery(converted to required type (Photo))and define the index that image was touched, so you don't need implement MVVM pattern on viewer directly, but your gallery page(that use MVVM pattern) will does. I hope that helps you.

@LUISWAKASUGUI
Copy link

Boa noite Candido. Qual o padrão de fotos que devo utilizar no PhotoBrowser para que a biblioteca consiga exibir a imagem.

@LUISWAKASUGUI
Copy link

Tentei uma imagem jpg com 800x600 e 24 bits mas ele não aparece nada. O link esta correto pois ja testei no browser.

@candidodmv
Copy link

candidodmv commented Sep 26, 2018

@LUISWAKASUGUI share your code here(if it's possible) that will be more easy to help you. Because I think that, there's no limite to size of image, because of feature like "pinch to zoom". Do you have aready checkout if the file format is right, because the code sample are using "jpg" format, so any other formats, must be validated, if is supported before to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants