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
{ | |
"latestVersion": "1.2.2", | |
"latestVersionCode": 10, | |
"url": "https://play.google.com/store/apps/details?id=com.github.javiersantos.appupdater.demo", | |
"releaseNotes": [ | |
"- Text update", | |
"- Fitur baru", | |
"- Bug fixes" | |
] | |
} |
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 HelloWorld | |
{ | |
public static void main(String[] args) | |
{ | |
PracticalAstronomy astro = new PracticalAstronomy(2455002.25); | |
double[] date = astro.getGregorianDay(); | |
System.out.print((int)date[0] + " " + (int)date[1] + " " + date[2]); | |
//will output 2009 6 19.75 | |
} | |
} |
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 ShowJulianDay | |
{ | |
// arguments are passed using the text field below this editor | |
public static void main(String[] args) | |
{ | |
PracticalAstronomy astro = new PracticalAstronomy(2009,6,19,18,0,0); | |
System.out.print(astro.getJulianDay()); | |
} | |
} |
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
... | |
LayoutInflater myinflater = getLayoutInflater(); | |
ViewGroup myHeader = (ViewGroup)myinflater.inflate(R.layout.android_listview_header, listView, false); | |
TextView tvHeader = (TextView)myHeader.findViewById(R.id.header_textview); | |
listView.addHeaderView(myHeader); | |
listView.setAdapter(adapter); | |
... |
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
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<android.support.v7.widget.CardView | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_margin="10dp"> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.