Questions tagged [getvalue]

191 questions
1
vote
1 answer

Cant get all value from Firebase in Android Studio

I have some problem about reading value in Firebase Database, This is structure of Realtime Database, sorry I wasn't allowed to embedded picture: LampController Schedule TimeEnd: "5:30" TimeStart: "21:15" isActive: true This is my Object…
1
vote
3 answers

How do I know in swift which button was pressed when different buttons lead to the same ViewController?

I have four buttons which all lead to the same view controller. I need to know which button was pressed, because the view controller is set up slightly different for each button. I tried the following: ViewController (called "SecondViewController")…
JPJerry5
  • 107
  • 10
1
vote
0 answers

when I search with key, I want to get the only value from the mongodb documents

I need a MongoDB query to get the only value from the document. I have the following two documents. I want to get the only value of service key from the second document. { "develop-48" : [ { "analytics" : "f58b6fc81b", …
moong
  • 73
  • 1
  • 1
  • 9
1
vote
2 answers

How to obtain simple List from Android LiveData>?

I'm new to Android and learning the same by developing simple app which consists of single Customer table which I'm accessing using android Room database. The Customer entity class is @Entity(tableName = "Customers") public class CustomerEntity…
1
vote
1 answer

How to get the value of a static field in a generic class (singleton) without knowing the generic type

Ok, I try to explain my question a bit better: I have a class DynamicTypeCreator{...} and a method in it: static BuildASingletonClassWithTypeBuiler (T object) {...} This method not only creates a singleton type class Singleton01 {...}…
Konrad
  • 11
  • 4
1
vote
2 answers

C# Using reflection to get a an instantiated class given a string variable containing its name

In C# I have multiple instantiations of a class "CItems"(see below). I retrieve a string at run-time of the instantiation I want to use(in this case to call a public method-"addPropertyToList"). I know I have to use reflection but I can't seem to…
K. Dobson
  • 11
  • 1
1
vote
1 answer

Unable to extract a property value using reflection

I have two Types in this scenario - Type A and Type B. Type A is present in a higher layer and not where I'm implementing the code below and it has a property which is of Type B. Type B is defined in the layer(lower layer, think platform) that I'm…
Cranialsurge
  • 85
  • 1
  • 6
1
vote
2 answers

How to get String key from HashMap?

I have a HashMap with String key and String value. I want to get an item from list, I tried to give key and wanted to get value but it gives an error. The following example how can I get "both" value with give the key "blazer"? …
Selin Gök
  • 331
  • 1
  • 5
  • 20
1
vote
2 answers

Apps script .getValue() returning #N/A

I'm having an issue with this apps script that's attempting to add data to my Google Cloud database. The problem variables are Open, High, Low, Close; which are all values found by formulas in the 'RAW' sheet. The formulas behind Open, High, Low,…
Shaun
  • 65
  • 1
  • 8
1
vote
0 answers

Applescript get the value as string and put the variable

I’m the beginner developer with AppleScript. I tried to write AppleScript for getting text value in multi rows and write to variable and and also it should be loop until end of data. After compile and run the AppleScript the result is correctly but…
1
vote
1 answer

How to get value from combobox from another page?

The person is choosing smth from combobox and I have to save this value and transport it to another page ? public string ToAnotherWin() { k = comboboxPrices.SelectedItem.ToString(); return k; }
1
vote
1 answer

C# Regex - get values from repeatable groups

I have this Regex pattern where I try to find out if a sentence (string) matches it. My…
Joe Jonsman
  • 103
  • 1
  • 6
1
vote
1 answer

Excel #VALUE! error when using GetValue

I am attempting to use the code Private Function GetValue(path, file, sheet, ref) ' Retrieves a value from a closed workbook Dim arg As String ' Make sure the file exists If Right(path, 1) <> "\" Then path = path & "\" If Dir(path &…
Keith
  • 11
  • 2
1
vote
1 answer

getValue not working on sheets

I'm trying to set up an email alert system based on a project tracking sheet my team uses at work. I need it to send an email when a task's status is changed to "Done" in column K. I got the code to work on a test sheet, but when I copy it to the…
Erin
  • 11
  • 1
1
vote
2 answers

How to store the value of floatSliderGrp in Python Maya

I have a slider that goes from 1 to 10 and I want to store the value that the user chose with the slider every time. I want the value to get updated with the movement of the slider. This is what I have so far def PrintValue(): print…
Lily
  • 816
  • 7
  • 18
  • 38
1 2
3
12 13