This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ru.gorkapstroy.sensorlogger.api.mock; | |
import android.content.Context; | |
import android.util.Log; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.lang.reflect.Method; | |
import java.util.ArrayList; | |
import java.util.HashMap; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyScaffold extends StatelessWidget { | |
var restClient = RestClient(); | |
var dropDownCurrencies = DropDownCurrency(); | |
@override | |
Widget build(BuildContext context) { | |
// Material is a conceptual piece of paper on which the UI appears. | |
restClient.loadConfig().then((value) { | |
print("load finish. result: ${value.status}"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TestWidget extends StatefulWidget{ | |
@override | |
State<StatefulWidget> createState() => TestState(); | |
} | |
class TestState extends State<TestWidget> { | |
String _text; | |
@override | |
Widget build(BuildContext context) { | |
if (_text == null) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Main { | |
public static void main(String[] args) { | |
SingleLinkList<Integer> list = new SingleLinkList<>(); | |
Random rand = new Random(); | |
for (int i = 0; i < 10; i++) { | |
list.add(rand.nextInt(100)); | |
} | |
System.out.println("List data: " + list.toString() + " with size: " + list.size()); |
OlderNewer