Skip to main content

All Questions

Tagged with
0 votes
1 answer
67 views

ImageBackground not displaying image when fetched from API

When I am fetching image source from API, Image is not displayed in ImageBackground even though source exists but remaining data is displayed such as listing title and other details. import React, {...
ctr1L's user avatar
  • 17
0 votes
1 answer
2k views

Jetpack Compose - Receiving response from API call, but cannot store the data

I'm building an Android recipe app, using the Spoonacular API. (I'm quite new to jetpack compose) The issue is, the value stored inside of _randomRecipeResult in the viewModel is supposed to be the ...
Bartek's user avatar
  • 3
1 vote
1 answer
97 views

Flutter: How to dynamically add a new textfield based on user selection?

So I want to add a new textfield after i select an option but since I'm new to flutter I can't figure it out on how to do it . SelectFieldBloc selectFieldBloc = SelectFieldBloc( name: ...
Priyanka Shakya's user avatar
0 votes
1 answer
89 views

Flutter Exception "type 'String' is not a subtype of type 'int' of 'index'" when fetching filtered api data

I'm making an Android app with local Django Restful Api. I have 2 models in database, that are nested together, ShowsModel and DirectorModel. This is basically how my JSON looks like with GET function....
amyhawks's user avatar
0 votes
1 answer
18 views

I have three android projects that share many identical or very similar classes. What could I do to make single edits?

I have three projects on Android that have many identical or similar classes. Since I found myself making double or triple changes, I was wondering what could I do to make single edits. I came up with ...
zaxunobi's user avatar
  • 880
0 votes
0 answers
41 views

onPostExcute executed before doInbackground in asynctask

i have asynctask which i call api inside doInBackGround and i'm using okhtpp and then i enqueue the request actually the enqueue does not block the main thread so the asyncTask execute onPostExcute() ...
Awos Al-Radaideh's user avatar
0 votes
2 answers
213 views

Cannot get data from API for android device (React-Native)

I'm trying to get data from an API to Android, but something happened that prevents me from getting the data or results in a timeout error. I have tested this code on the following platforms: Snack ...
Jonathan Bui's user avatar
0 votes
1 answer
21 views

Uploading photo to db using retrofit passing File type but it throws error no file path foung in log

This is my api call in the fragment class where I deal with profile data, it displays the image on button click but doesn't upload the image to database. public void uploadImage(File file){ // ...
dev-daru's user avatar
0 votes
2 answers
126 views

How to display images in Flutter app from Django Rest API?

I have problems with displaying images, that are saved in my database in Django Rest API. This is my postman output for the API: [ { "id": 1, "name": "...
amyhawks's user avatar
1 vote
1 answer
370 views

Route between two points in Android Studio (Java) using the Maps Directions API

I have the following code, which has the purpose of showing the route between a point 'A' and a point 'B', the initial point 'A' is originated by the current location of the device, while the point 'B'...
Cristian's user avatar
-2 votes
1 answer
135 views

Lates version of "implementation "io.ktor:ktor-client-android""

what is the latest version of-" implementation "io.ktor:ktor-client-android:"" i am learning about android and kotlin and working of APIs and this came as an error . so i want to ...
Relaxed Hue's user avatar
0 votes
1 answer
168 views

I have trouble connecting my Django REST api to Flutter mobile app

I'm making an Android application, that has Django REST api. Didn't have any trouble setting up the api, but I can't connect it to my application. I'm really new to it, so... I tried running my app ...
amyhawks's user avatar
0 votes
1 answer
59 views

What is the best way to segregate other api request and mobile application api request?

I am using laravel with lighthouse graphql for backend. It serves api for both web application and mobile application with same graphql api. I have a request which have to segregate api request ...
amit's user avatar
  • 373
1 vote
0 answers
747 views

Issue with displaying rewarded ads in my Android app

I'm facing an issue with displaying rewarded ads in my Android app using the ironSource SDK. When I try to show a rewarded video, I'm getting the following error message: "API: showRewardedVideo ...
prog 's user avatar
  • 11
1 vote
0 answers
93 views

Is it possible to pass data from a flutter android app to a VeriFone device?

I'm trying to know how to pass data from a Flutter app to a device such as a VeriFone one. The data will NOT be for a payment, it is simply a list of orders that includes products from a supermarket. ...
Mohamed Abdulhalim's user avatar

15 30 50 per page
1
2 3 4 5
323