Skip to content

Tag: android

Cannot infer type arguments for ArrayAdapter

I am still playing around with my calendar, I already nearly managed to integrate the https://github.com/SundeepK/CompactCalendarView into one of my fragments. There is just one error left, i did some research, others got the problem too for example with ArrayList<>. Example code: The IDE says: Note: C:…

Load multiple images with picasso – Android

I am trying to load multiple images from some urls using picasso library. So far I have tried this code: This code doesn’t work. When I run this code it doesn’t reach to any line within the Target interface. Someone have any ideas for why? Answer Maybe I’m missing something here, but I think…

valid JSON response issue [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 7 years ago. Improve this question I hav…

My android studio app crashes when I touch the screen

My app keeps crashing on the mainActivity screen everytime I touch empty space on the screen. I have three buttons, two radioButtons, a textview, and two editText fields; whenever I touch these my app works fine, but if I ever touch white space, then the whole app crashes. I have minSDk of 15 and targetSDK of…