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 WeatherInteractorImpl extends BaseInteractor implements WeatherInteractor { | |
private final static String API_KEY = ""; | |
private final static String UNIT = "si"; | |
private final static int DAY_INCREMENT = 1; | |
private final static long UNIX_TIME_CONVERSION_CONSTANT = 1000L; | |
@Override | |
public Observable<WeatherModel> getWeatherForecastDaily(LatLng latLng, Action1 onNextAction, Action1 onErrorAction) { | |
Calendar calendar = Calendar.getInstance(); |
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 MainActivity : AppCompatActivity(), View.OnClickListener { | |
val TAG_NUMBER = "number" | |
val TAG_OPERATOR = "operator" | |
val TAG_OPERATION = "operation" | |
val OPERATION_DEL = "⌫" | |
val OPERATION_CLEAR = "C" | |
val OPERATION_EQUALS = "=" | |
val OPERATOR_ADD = "+" |
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
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
window.setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, | |
WindowManager.LayoutParams.FLAG_FULLSCREEN) | |
setContentView(R.layout.activity_main) | |
setButtonClicks() | |
} |
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
private fun setButtonClicks() { | |
(0..grid_layout.childCount) | |
.filter { grid_layout.getChildAt(it) != null } | |
.forEach { grid_layout.getChildAt(it).setOnClickListener(this) } | |
} |
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 void setOnClicks(GridLayout grid_layout) { | |
for (int i = 0; i < grid_layout.getChildCount(); i++) { | |
if (grid_layout.getChildAt(i) != null) | |
grid_layout.getChildAt(i).setOnClickListener(this); | |
} | |
} |
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 CustomerDetail{ | |
private String phone; | |
private String index; | |
private String about; | |
private String id; |
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 CustomerDetail(phone: String?, index: String?, about: String?, id: String?, guide: String?, isActive: String?, picture: String?, balance: String?, address: String?, eyeColor: String?, email: String?, registered: String?, age: String?, name: String?, company: String?, gender: String?, longitude: String?, latitude: String?) |
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
import React from 'react'; | |
import {StyleSheet, Text, View, Image } from 'react-native'; | |
import {BoxShadow, BorderShadow} from 'react-native-shadow' | |
import Svg,{ | |
Circle, | |
Ellipse, | |
G, | |
LinearGradient, | |
RadialGradient, | |
Line, |
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
[{ | |
"id": "3d7caa4e-15a1-11ea-8d71-362b9e155667", | |
"name": "Elevation", | |
"editted_at": "1575359407010", | |
"component": [{ | |
"type": "section", | |
"type_data": { | |
"section_name": "Depth", | |
"section_id": "4e7caa4e-15a1-11ea-8d71-362b9e155999", | |
"fields": [{ |
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
{ | |
"name": "John", | |
"age": "16", | |
"status": "permanent", | |
"interests": [ | |
"cycling", | |
"reading", | |
"football" | |
] | |
} |
OlderNewer