'canGoBack' method isn't defined for flutter WebViewPlus

'canGoBack' method isn't defined for flutter WebViewPlus Problem Description: I’m trying to use ( canGoBack() ) method with (flutter webview plus) plugin but it isn’t work!! vs code said: The method ‘canGoBack’ isn’t defined for the type ‘WebViewPlusController’. Try correcting the name to the name of an existing method, or defining a method named ‘canGoBack’. … Read more

Flutter Error : Unhandled Exception: RangeError (index): Invalid value: Valid value range is empty: 0

Flutter Error : Unhandled Exception: RangeError (index): Invalid value: Valid value range is empty: 0 Problem Description: I am trying to fetch data from an API, and although data is fetched for a hardcoded request, I am unable to get it dynamically. It gives the following error: E/flutter (11813): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: RangeError (index): Invalid … Read more

How can I use my ApiService and Room Dao into WorkManager with Hilt, implementing MVVM pattern?

How can I use my ApiService and Room Dao into WorkManager with Hilt, implementing MVVM pattern? Problem Description: I want to use my ApiService and my Room Dao in the WorkManager class implementing the MVVM pattern and Hilt as dependency injection. This is my code: ViewModel @HiltViewModel public class SyncViewModel extends ViewModel { private final … Read more

(Dart) How can I create a sub list of only certain items in the first list containing a string?

(Dart) How can I create a sub list of only certain items in the first list containing a string? Problem Description: Here is my are my List Items: static List<Category> getMockedCategories(){ return[ Category( name: "Ascent", imgName: "AscentLoading", subCategories: [ SubCategory( name: "ascent", imgName: "ascent_a_sova_frontgen" ) ] ), Category( name: "Breeze", imgName: "BreezeLoading", subCategories: [ ] … Read more

Why does my kotlin android app crash after receiving response on JsonArrayRequest? Is there any error in my code?

Why does my kotlin android app crash after receiving response on JsonArrayRequest? Is there any error in my code? Problem Description: I get no errors in building the app but when the app finally launches, it crashes right after response is gotten from the JsonArrayRequest() function. these are my logcats: logcat 1 logcat 2 FATAL … Read more

How to disable WebViewChromium from initializing

How to disable WebViewChromium from initializing Problem Description: I’m working on improving the cold start time of several apps. One of the apps has a process that occurs during the bindApplication phase of startup, called "WebViewChromium.init. Our other application doesn’t have this, and I can’t figure out where in my code I’m including something that … Read more

User registration and password validation confirmation in android

User registration and password validation confirmation in android Problem Description: I have this activity in which I want to authorize the confirm password field.This is my code-: package com.example.loginregisterfirebase; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import android.widget.Toast; import com.google.firebase.FirebaseApp; import com.google.firebase.database.DataSnapshot; import com.google.firebase.database.DatabaseError; import com.google.firebase.database.DatabaseReference; import com.google.firebase.database.FirebaseDatabase; … Read more

User registration and password validation confirmation in android

User registration and password validation confirmation in android Problem Description: I have this activity in which I want to authorize the confirm password field.This is my code-: package com.example.loginregisterfirebase; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import android.widget.Toast; import com.google.firebase.FirebaseApp; import com.google.firebase.database.DataSnapshot; import com.google.firebase.database.DatabaseError; import com.google.firebase.database.DatabaseReference; import com.google.firebase.database.FirebaseDatabase; … Read more

Is it safe to use public API in mobile application?

Is it safe to use public API in mobile application? Problem Description: I don’t know if it’s a stupid question but there are lots of free public APIs in this github repository: https://github.com/public-apis/public-apis Is it safe to make apps with such free APIs and publish them in play store, app store? What I mean is … Read more

We use cookies in order to give you the best possible experience on our website. By continuing to use this site, you agree to our use of cookies.
Accept
Reject