reference tag

34 questions


1 answers
111 views
0
How to write a definition for circular reference in TypeScript

If you define the following in Typescript: class A { public b —A.B.}namespace A { classB{ }}By classA definition [ts] No exported member 'B' exists in namespace 'A'. I get scolded, and if you reverse ...


2 answers
123 views
0
How do I make Activity/ArrayAdapter sparse on Android?

Hello,As the title says, How do I make Activity/ArrayAdapter sparse on Android?I tried writing the code where Activity and ArrayAdapter are calling each other's methods.The fact that Activity and Arra...


2 answers
137 views
0
How do I make Activity/ArrayAdapter sparse on Android?

Hello,As the title says, How do I make Activity/ArrayAdapter sparse on Android?I tried writing the code where Activity and ArrayAdapter are calling each other's methods.The fact that Activity and Arra...


1 answers
79 views
0
I want to receive the TableViewCell layout event in RxSwift's "tableView.rx.willDisplayCell" and animate the text using CAD DisplayLink in subscribe.

I implemented it using CADisplayLink to animate the text representing the percentage as shown in the image, but it does not work well with RxSwift, and I cannot discard the cell instance during the sc...


1 answers
132 views
0
What is the most effective way to store user information in an app?

I'm making an app. When I log in to the server, I use the user's name and password, but it's annoying to enter the password every time, so I made a password as an option.I tried to use SharedPreferenc...


1 answers
91 views
0
Difference between Reference and Pointer and a pointer

I know that using references makes it easier to read and write code,What exactly is the difference between the two?

2 years ago

1 answers
143 views
0
Why don't you return the reference?

Why can't I return the reference?Personally, I saw a lot of codes that return references, so are all the codes wrong?

2 years ago

1 answers
125 views
0
How do I transfer references to parameters in Java?

In C#, we use the keyword ref when we use references Is there something like this in Java?

2 years ago

1 answers
91 views
0
To reference a variable

It seems that the Python document does not clearly state whether variables are passed by reference or by value when they are passed by parameters. When you turn the code below, the variable value does...


1 answers
145 views
0
Which is Java, pass-by-reference or pass-by-value?

I've always thought that Java is a pass-by-reference. But I saw a blog claiming it wasn't. (Here's a link: http://javadude.com/articles/passbyvalue.htm)I don't know the difference. Please explain.

- 1 - »

© 2024 OneMinuteCode. All rights reserved.