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
//build.gradle (Top-Level) | |
classpath 'com.google.gms:google-services:4.3.5' | |
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.3.5" | |
//build.gradle (App) | |
plugins { | |
//... | |
id 'com.google.gms.google-services' |
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
implementation 'androidx.activity:activity-ktx:1.2.2' | |
implementation 'androidx.fragment:fragment-ktx:1.3.3' | |
implementation 'com.google.android.gms:play-services-location:18.0.0' |
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
implementation 'androidx.activity:activity-ktx:1.2.2' | |
implementation 'androidx.fragment:fragment-ktx:1.3.2' | |
implementation 'com.otaliastudios:cameraview:2.7.0' | |
implementation 'com.squareup.picasso:picasso:2.71828' | |
----- | |
class GalleryViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) { |
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
implementation "androidx.activity:activity-ktx:1.2.2" | |
implementation "androidx.fragment:fragment-ktx:1.3.2" | |
implementation 'androidx.preference:preference-ktx:1.1.1' |
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
---------build.gradle | |
buildFeatures { | |
viewBinding true | |
} | |
---------build.gradle | |
implementation 'androidx.activity:activity-ktx:1.2.2' | |
implementation "androidx.fragment:fragment-ktx:1.3.2" |
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
implementation 'androidx.activity:activity-ktx:1.2.1' | |
implementation 'com.squareup.retrofit2:retrofit:2.9.0' | |
implementation 'com.google.code.gson:gson:2.8.6' | |
implementation 'com.squareup.retrofit2:converter-gson:2.9.0' | |
------------ | |
REST API: | |
https://ics.upjs.sk/~novotnyr/android/demo/presentr/index.php/available-users |
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 com.github.novotnyr.yello | |
import android.content.Context | |
import androidx.room.Database | |
import androidx.room.Room | |
import androidx.room.RoomDatabase | |
@Database(entities = [Note::class], version = 1) | |
abstract class AppDatabase : RoomDatabase() { |
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
Ferdinand I., 1526 - 1564 | |
Maximilián, 1564 - 1576 | |
Rudolf, 1576 - 1608 | |
Matej II., 1608 - 1619 | |
Ferdinand II., 1619 - 1637 | |
Gabriel Betlen, 1619 - 1621 | |
Ferdinand III., 1637 - 1657 | |
Leopold I., 1657 - 1705 | |
Imrich Tököli, 1682 - 1685 | |
Jozef I., 1705 - 1711 |
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
Ferdinand I., 1526 - 1564 | |
Maximilián, 1564 - 1576 | |
Rudolf, 1576 - 1608 | |
Matej II., 1608 - 1619 | |
Ferdinand II., 1619 - 1637 | |
Gabriel Betlen, 1619 - 1621 | |
Ferdinand III., 1637 - 1657 | |
Leopold I., 1657 - 1705 | |
Imrich Tököli, 1682 - 1685 | |
Jozef I., 1705 - 1711 |
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 com.github.novotnyr.rc; | |
import java.text.ParseException; | |
import java.time.DateTimeException; | |
import java.time.LocalDate; | |
public class RodneCislo { | |
private LocalDate datum; | |
private String koncovka; |
NewerOlder