Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
- Online Modus / Offline Modus hinzugefügt
 -> Kann deaktiviert werden bzw. ist deaktiviert wenn keine Datenverbindung besteht.

- App Intro hinzugefügt.
- Der Spotify Button kann nun ausgeblendet werden (Direkt beim ersten Start oder in den Einstellungen)
- Cover aktualisiert
- Die drei Fragezeichen Kids Folgen hinzugefügt.
  • Loading branch information
DonMarv00 committed Jun 9, 2022
1 parent eac6f06 commit dee7085
Show file tree
Hide file tree
Showing 609 changed files with 17,495 additions and 17,225 deletions.
3 changes: 0 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: "com.mikepenz.aboutlibraries.plugin"

android {
compileSdkVersion 32
Expand Down Expand Up @@ -38,8 +37,6 @@ dependencies {
implementation("ru.gildor.coroutines:kotlin-coroutines-okhttp:1.0")
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.github.AppIntro:AppIntro:6.2.0'
implementation "com.mikepenz:aboutlibraries-core:10.2.0"
implementation "com.mikepenz:aboutlibraries:10.2.0"
}
repositories {
mavenCentral()
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion app/build/generated/aboutLibraries/dependency_cache.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
// Generated by view binder compiler. Do not edit!
package de.msdevs.einschlafhilfe.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import de.msdevs.einschlafhilfe.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class ActivityAboutBinding implements ViewBinding {
@NonNull
private final RelativeLayout rootView;

@NonNull
public final Button btnLicense;

@NonNull
public final Button btnPrivacy;

@NonNull
public final Button btnQuellcode;

@NonNull
public final TextView tvNameHeader;

private ActivityAboutBinding(@NonNull RelativeLayout rootView, @NonNull Button btnLicense,
@NonNull Button btnPrivacy, @NonNull Button btnQuellcode, @NonNull TextView tvNameHeader) {
this.rootView = rootView;
this.btnLicense = btnLicense;
this.btnPrivacy = btnPrivacy;
this.btnQuellcode = btnQuellcode;
this.tvNameHeader = tvNameHeader;
}

@Override
@NonNull
public RelativeLayout getRoot() {
return rootView;
}

@NonNull
public static ActivityAboutBinding inflate(@NonNull LayoutInflater inflater) {
return inflate(inflater, null, false);
}

@NonNull
public static ActivityAboutBinding inflate(@NonNull LayoutInflater inflater,
@Nullable ViewGroup parent, boolean attachToParent) {
View root = inflater.inflate(R.layout.activity_about, parent, false);
if (attachToParent) {
parent.addView(root);
}
return bind(root);
}

@NonNull
public static ActivityAboutBinding bind(@NonNull View rootView) {
// The body of this method is generated in a way you would not otherwise write.
// This is done to optimize the compiled bytecode for size and performance.
int id;
missingId: {
id = R.id.btn_license;
Button btnLicense = ViewBindings.findChildViewById(rootView, id);
if (btnLicense == null) {
break missingId;
}

id = R.id.btn_privacy;
Button btnPrivacy = ViewBindings.findChildViewById(rootView, id);
if (btnPrivacy == null) {
break missingId;
}

id = R.id.btn_quellcode;
Button btnQuellcode = ViewBindings.findChildViewById(rootView, id);
if (btnQuellcode == null) {
break missingId;
}

id = R.id.tv_name_header;
TextView tvNameHeader = ViewBindings.findChildViewById(rootView, id);
if (tvNameHeader == null) {
break missingId;
}

return new ActivityAboutBinding((RelativeLayout) rootView, btnLicense, btnPrivacy,
btnQuellcode, tvNameHeader);
}
String missingId = rootView.getResources().getResourceName(id);
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ public final class ActivitySettingsBinding implements ViewBinding {
@NonNull
public final CheckBox cbSpecial;

@NonNull
public final CheckBox cbSpecialK;

@NonNull
public final CardView cvPrivacySettings;

Expand Down Expand Up @@ -85,19 +82,18 @@ public final class ActivitySettingsBinding implements ViewBinding {

private ActivitySettingsBinding(@NonNull RelativeLayout rootView, @NonNull CheckBox cbD3,
@NonNull CheckBox cbDDF, @NonNull CheckBox cbKids, @NonNull CheckBox cbSpecial,
@NonNull CheckBox cbSpecialK, @NonNull CardView cvPrivacySettings,
@NonNull RangeSlider rangeSlider, @NonNull RangeSlider rangeSliderKids,
@NonNull RelativeLayout rlDDF, @NonNull RelativeLayout rlKids,
@NonNull SwitchCompat swUpdateList, @NonNull SwitchCompat swUseSpotify,
@NonNull TextView tvCstDesc, @NonNull TextView tvCstHeader, @NonNull TextView tvEnd,
@NonNull TextView tvEndKids, @NonNull TextView tvSpotify, @NonNull TextView tvStart,
@NonNull TextView tvStartKids, @NonNull TextView tvUpdateList) {
@NonNull CardView cvPrivacySettings, @NonNull RangeSlider rangeSlider,
@NonNull RangeSlider rangeSliderKids, @NonNull RelativeLayout rlDDF,
@NonNull RelativeLayout rlKids, @NonNull SwitchCompat swUpdateList,
@NonNull SwitchCompat swUseSpotify, @NonNull TextView tvCstDesc,
@NonNull TextView tvCstHeader, @NonNull TextView tvEnd, @NonNull TextView tvEndKids,
@NonNull TextView tvSpotify, @NonNull TextView tvStart, @NonNull TextView tvStartKids,
@NonNull TextView tvUpdateList) {
this.rootView = rootView;
this.cbD3 = cbD3;
this.cbDDF = cbDDF;
this.cbKids = cbKids;
this.cbSpecial = cbSpecial;
this.cbSpecialK = cbSpecialK;
this.cvPrivacySettings = cvPrivacySettings;
this.rangeSlider = rangeSlider;
this.rangeSliderKids = rangeSliderKids;
Expand Down Expand Up @@ -166,12 +162,6 @@ public static ActivitySettingsBinding bind(@NonNull View rootView) {
break missingId;
}

id = R.id.cbSpecialK;
CheckBox cbSpecialK = ViewBindings.findChildViewById(rootView, id);
if (cbSpecialK == null) {
break missingId;
}

id = R.id.cv_privacy_settings;
CardView cvPrivacySettings = ViewBindings.findChildViewById(rootView, id);
if (cvPrivacySettings == null) {
Expand Down Expand Up @@ -263,7 +253,7 @@ public static ActivitySettingsBinding bind(@NonNull View rootView) {
}

return new ActivitySettingsBinding((RelativeLayout) rootView, cbD3, cbDDF, cbKids, cbSpecial,
cbSpecialK, cvPrivacySettings, rangeSlider, rangeSliderKids, rlDDF, rlKids, swUpdateList,
cvPrivacySettings, rangeSlider, rangeSliderKids, rlDDF, rlKids, swUpdateList,
swUseSpotify, tvCstDesc, tvCstHeader, tvEnd, tvEndKids, tvSpotify, tvStart, tvStartKids,
tvUpdateList);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;
import android.widget.CheckBox;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.cardview.widget.CardView;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import de.msdevs.einschlafhilfe.R;
Expand All @@ -20,15 +22,23 @@ public final class FragmentPrivacyBinding implements ViewBinding {
@NonNull
private final RelativeLayout rootView;

@NonNull
public final CheckBox cbPrivacy;

@NonNull
public final CardView cvWebview;

@NonNull
public final TextView tvPrivacy;

@NonNull
public final WebView webview;

private FragmentPrivacyBinding(@NonNull RelativeLayout rootView, @NonNull TextView tvPrivacy,
@NonNull WebView webview) {
private FragmentPrivacyBinding(@NonNull RelativeLayout rootView, @NonNull CheckBox cbPrivacy,
@NonNull CardView cvWebview, @NonNull TextView tvPrivacy, @NonNull WebView webview) {
this.rootView = rootView;
this.cbPrivacy = cbPrivacy;
this.cvWebview = cvWebview;
this.tvPrivacy = tvPrivacy;
this.webview = webview;
}
Expand Down Expand Up @@ -60,6 +70,18 @@ public static FragmentPrivacyBinding bind(@NonNull View rootView) {
// This is done to optimize the compiled bytecode for size and performance.
int id;
missingId: {
id = R.id.cb_privacy;
CheckBox cbPrivacy = ViewBindings.findChildViewById(rootView, id);
if (cbPrivacy == null) {
break missingId;
}

id = R.id.cv_webview;
CardView cvWebview = ViewBindings.findChildViewById(rootView, id);
if (cvWebview == null) {
break missingId;
}

id = R.id.tv_privacy;
TextView tvPrivacy = ViewBindings.findChildViewById(rootView, id);
if (tvPrivacy == null) {
Expand All @@ -72,7 +94,8 @@ public static FragmentPrivacyBinding bind(@NonNull View rootView) {
break missingId;
}

return new FragmentPrivacyBinding((RelativeLayout) rootView, tvPrivacy, webview);
return new FragmentPrivacyBinding((RelativeLayout) rootView, cbPrivacy, cvWebview, tvPrivacy,
webview);
}
String missingId = rootView.getResources().getResourceName(id);
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
Expand Down

This file was deleted.

Binary file modified app/build/intermediates/apk/debug/app-debug.apk
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
appMetadataVersion=1.1
androidGradlePluginVersion=7.2.0
androidGradlePluginVersion=7.2.1
Loading

0 comments on commit dee7085

Please sign in to comment.