How create change beackround by uesrs? - flutter

Good afternoon everyone.
Please help me to solve the issue.
I need to make it so that the user can change the background on their own, based on the options I suggested. The background will change only on one screen and for the background I decided to choose images.
That is, going to the quote screen, for example, the user can click on the button and a list of available pictures for changing the background will appear for him to choose from.
I've been looking for how to implement such an idea for the third day already and I can't find anything, please help!

Related

How to centre this video pop-up

thank you for taking some time to reply.
I need help to create a video pop-up with a Title and a description. The user should be able to open the pop-up both by clicking the image and the title. We tried several codes for our website, but when we make the images clickable, it disrupts the whole layout. We are not coding experts, so we don't know the issue because the code worked fine outside Squarespace. Therefore, we were hoping someone could help us create a simple video pop-up with a clickable image and title.
I know it is a lot to ask; thank you for your time.

FadeInImage does not what I expect it to when filtering

This might be a bug but I'm not sure.
I'm trying to make a list of users in the app that I'm making. With to the left of all the users a picture of that user. Everything goes well when in loads in. The users that have a picture get them loaded in. The users that don't have one keep a placeholder image. So far so good.
But when I start filtering the records it gets messy. I have a search bar at the top. But when I start searching. All the names are still correctly displayed (the ones that are within the range of the search) but the images don't correspond with the correct users any more.
Please explain if I'm doing something wrong. But this might be a bug because this does not happen when I use the normal Image class. Only when I use the FadeInImage class
Underneath two screenshots to explain my problem. The first screenshot is when I boot the app. The second is after I pressed the button. Notice how the error.jpg url is standing next to the working image in screenshot 2.
I made a small example project to make it easy to reproduce this.
To reproduce, wait for the top image to load in. The second one will 404 but that is intended so it keeps its placeholder and after that click the button. You will see the 404 url next to the picture that was actually loaded from the web.

Swift show button to refresh table like in twitter

Please can someone tell me how I get a button to appear if there are new information like in twitter 'more tweets'
Just would like to know the coding to show the button and make the button disappear
Thanks in advance
This approach called "Pull to Refresh". Adding the button is one of many steps you will need to take in order to apply this functionality. There are many good tutorials over the web for how to do it, here are few:
https://www.andrewcbancroft.com/2015/03/17/basics-of-pull-to-refresh-for-swift-developers/
https://grokswift.com/pull-to-refresh-swift-table-view/
https://www.appcoda.com/custom-pull-to-refresh/

Change language when button pressed Xcode

I want to make my app multi-language. I know how to do this.
But the problem is that, the user should first change the phones languages before the translation will work.
What I want to do is the following: I have 3 buttons. Dutch,English,French.
When a user presses a button. The language of the app is changed to the appropriate language. But the phone's language keeps the same.
Hope anyone can help me!
Kind regards
But the different translations into different files. Load the needed file according to the button the user touched.
If this does not answer your question, please be more specific what exactly you problem is.

Small popup for instructions... How?

I am trying to get a popup appear the first time an app is started. Just to give you an idea check the new version of foursquare. A small popup (like a comic) appear explaining where the checkin button is located. Then if you tap anywhere it goes away. I googled for the last hour but I have not found anything at all and I have no idea on how to do it.
Anyone can point me in the right direction?
Thanks in advance,
Umberto
You can show a customized UIlabel on app's load and then use performSelectorAfterDelay: and hide the label inside this method. For the tapping thing you can add a UITapGesture on your view to notify if some tap's occurred and hide the label if it's still there.
You can have a look at TapKu by Devin Ross http://www.cocoacontrols.com/platforms/ios/controls/tapku-alerts-with-images