skip to Main Content

How to parse this nested List json that has no keys on inner list objects?

I'm using an price API that returns a nested list {"prices":[ [1676505600000,24307.875101631602], [1676592000000,23756.907281577434] ], "market_caps":[ [1676505600000,468820317786.9533], [1676592000000,459293697174.9459], [1676678400000,475194230168.09973] ] } I can't figure out how to structure my Java Object so it's successfully parsed. I've tried public class QueryResult {…

VIEW QUESTION

Android Studio – How to change my scroll view to scrollable constraint layout or how to use scrollview

I want to add more options like add product and etc. but i cant because of scroll view not working properly. the following is my design code: <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".home"> <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/scrollView3" android:layout_width="0dp"…

VIEW QUESTION
Back To Top
Search