2016년 11월 21일 월요일

Activity Starter


I want to create an app in which after clicking on the 'New Image' Button, an image component is inserted and the picture of the image is set to an image stored in a tag in Tinydb. How do I do that using the Activity Starter? What is the code required?

Thank you.

-- 
Why do you want to try to set a image in a tinywebdb?
You can set any image from every url as the picture.

Example.
when "new image button" click

You don't need for that a activity starter.

-- 

I don't want to set an image... I want to insert a new image component.

Thanks

-- 
you can't create new components during runtime of the app
what you can do is to prepare some image components and hide them
then as soon you need one of them, set it to visible = true

you also might want to reuse one or several components...
see for example this solution, which uses only one canvas to display several images 

Taifun

-- 
Thank you Taifun.


-- 

댓글 없음:

댓글 쓰기