« first day (1702 days earlier)      last day (1548 days later) » 

5:16 AM
Good Morning
 
Good Morning
@SweetWisherツ yup
 
5:47 AM
Good Morning
 
6:36 AM
@SunishaSindhu have you got the solution?
 
6:58 AM
nop
@Ninja
this is my json
response
 
why base64 you had used here?
 
its binary data yeah
how can I set this in to imageview
 
byte[] data = item1.getBytes();
Bitmap bmp = BitmapFactory.decodeByteArray(data, 0, data.length);
imageview.setImageBitmap(bmp);
 
this one
I tried
its showing blank
 
@SunishaSindhu if you are getting byte from server side the they need to send it in base 64
or better you should ask them to provide url
 
7:13 AM
yeah normally they will give me like that way..so this time I said I need to check is it possible or not
 
@SunishaSindhu no it's not
 
oh okay
because when am setting that one is showing blank
 
better you should ask them to send url
because base64 need a huge memory
 
no normally they will give me base 64
yeah i know
 
@JaiprakashSoni agreed, as inside response, it is heavy to pass bytearray[]
 
7:15 AM
in http connection when they pass byte it's get converted into string
so you can't retrieve it
 
Hello,
I have a recyclerView and when user click on any item it move to another screen. And when It comes back to recyclerview screen I want to list to be at the same position from where user gone into detail screen.
 
@NakAndroidDev just start next activity.. current activity will go in stop state and will restart when user come back to list
 
@JaiprakashSoni its fragment and onResume I have to reload list as well
 
@NakAndroidDev are you replacing the fragments??
 
7:22 AM
Activity A -> fragment A -> Activity B -> back form activity B-> fragment is still with the same recycler view position. check it properly
 
@JaiprakashSoni yes
 
@NakAndroidDev instead of replace try add function
 
@JaiprakashSoni Its a viewpager fragment and in viewpager fragment i have recyclerview fragment
 
 
3 hours later…
10:53 AM
Hi all
GsonBuilder gsonBuilder = new GsonBuilder();
gsonBuilder.registerTypeAdapter(new TypeToken<Map<String, String>>() {}.getType(),
CurrencyHistoryDeserializer.class);
throws IllegalArgumentException
Because Gsont don't accept JsonDeserializer<Map<String, String>>
I'll just wrap it to class
 
 
2 hours later…
1:20 PM
Hi
how I can manage multi-language from the live database?
now I'm to make Diff API for all the screen and get the language and set as text
is this a good way..?
 

« first day (1702 days earlier)      last day (1548 days later) »