Questions tagged [pass-data]
252 questions
0
votes
1 answer
Swift - Pass data back to last opened view controller
I'm working on a app where the user can create a tournament.
What I'm trying to do right now is when the user taps on the button "Select players" inside the CreateTournamentViewController, a PlayersTableViewController should pop up.
Then the user…

Mike_NotGuilty
- 2,253
- 5
- 32
- 64
0
votes
2 answers
Data between activity and fragment
I have a fragment which shows a list of taken pictures, and allows me to take a new one by clicking a button; however, after taken a picture it goes to a PreviewActivity to accept or cancel the picture taken, and also add a description.
After that,…

Tarcisiofl
- 123
- 1
- 4
- 16
0
votes
2 answers
Access a variable from another view controller. Swift
I am trying to present a notification if someone send me a message and I am in a specific view controller (ConversationViewController). Right now, I can present the notification, but when I try to access a variable (otherProfileName) in…

Tony
- 25
- 7
0
votes
0 answers
Load PFobject in multiple views
In one view it creates a PFObject, then passes this Object to another view via prepareforsegue. I am wanting this PFObject to be available to read without the prepare for seque passing the data first. is this possible in swift please, thanks

user4682589
- 49
- 1
- 2
- 13
0
votes
2 answers
Pass data from inner View to Activity
I have an activity that contains a View.
public class SecondActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
…

Alvaro
- 1,430
- 2
- 23
- 41
0
votes
2 answers
Pass selection from expandable list to new activity
Hi I am new to programming and was having a lot of fun starting until I copied a tutorial for an expandable list and have been stuck for over 1 week.
I'm trying to use the final selection from an expandable list and pass this information to my new…

john smith
- 89
- 1
- 1
- 5
0
votes
3 answers
Pass the data in AppDelegate to Table View cell
I need some help in passing data from AppDelegate to another controller which is a Table View Controller. In AppDelegate , i have a server response which i converted it to string. What i want is to pass that string to the another controller(Table…
user5412643
0
votes
1 answer
Passind data from VC to VC through NavC-SWRevealController-NavC
I have a problem with passing data between View Controllers
Now, to open Base Chat VC, from ConversationsVC I use
UINavigationController *chatNav = (UINavigationController *)[self.storyboard…

Vitalyz123
- 189
- 2
- 10
0
votes
4 answers
How can I pass a data string to a programmatically loaded custom user control in C#
I've written a Custom User Control which returns some user specific data.
To load the Custom User Control I use the following line of code:
UserControl myUC = (UserControl).Load("~/customUserControl.ascx");
But how can I access string user inside…

Philipp Küng
- 37
- 3
- 9
0
votes
1 answer
Can't Pass Parcelable via Intent
I have two activities:
ListViewActivity
AddActivity
and one object class :
todoObj
I have a list view in my ListViewActivity activity and when I click add button this will initiate AddActivity . In AddActivity when user enters Title, choose…

Recomer
- 178
- 2
- 12
0
votes
2 answers
I cannot pass and retrieve intent boolean extra
I am trying to make my code pass boolean extra via intent but I fail.I debugged and observed that my activity "B" assigns the value of EXTRA_IS_ADDED as true, as I wanted to but than when I call startActivity(intent),in my activity "A" I cannot use…

Recomer
- 178
- 2
- 12
0
votes
0 answers
How to pass Dynamic String data in to current tab fragment from Tab activity?
i am using below code, but that code use full for only static data pass, i need to pass string data dynamically from searchview. and set string with my code, below i am try code but code not working.
TabActivity
Bundle bundle=new…

Ravi Vaghela
- 3,420
- 2
- 23
- 51
0
votes
1 answer
Can't pass data between View Controllers using condition (Swift 2)
I've been trying to pass data to another View Controller. But as I have two Bar Buttons that lead to two different View Controllers I have to set a condition. But when I try to pass the data it won't work. Here's the code I've been using:
override…

Guilherme Marques
- 75
- 2
- 8
0
votes
4 answers
moving the UIImageView from the main view to another
my code works fine in choosing the picture from the gallery and display it in the same view,
what am stuck into now, is transferring that UIImageView chosen to the next activity when "next" button is clicked
here is the code that opens the…

Aryam Saleh
- 338
- 2
- 12
0
votes
1 answer
Passing data with Unwind segue UITextField
I have two views :
View1 (Shop) : URL stocked in NSString for displaying image.
View2 (ModifyShop) : Text field with URL from view1.
I can pass data from view1 to view2 : The URL stocked in NSString appears in Text field.
Now I would like to modify…

Vjardel
- 1,065
- 1
- 13
- 28