« first day    last day (356 days later) » 

04:52
Good morning
05:22
morn' guys...
@SamirBhatt there?
yes
@Radhey
didn't get getserializableextra value
at the time of passing custom model class form activity to fragment
convert in string using gson and get back model again on next activity.
??
05:29
Good morning everyone
4 mins ago, by Radhey
didn't get getserializableextra value
@SamirBhatt I got two hates :D
u want ur model object in next fragment?
ya
form activity
if you want to do without gson, implement serializable to your class and then you can
05:32
i did the same thing
but the time of get value inside fragment , I got null object
What is the issue?
just 2 min
i did like this
@KulsDroid....:/
LMT
239
A: How to pass an object from one activity to another on Android

Mustafa GüvenImplement your class with Serializable. Let's suppose that this is your entity class: import java.io.Serializable; @SuppressWarnings("serial") //With this annotation we are going to hide compiler warnings public class Deneme implements Serializable { public Deneme(double id, String name) {...

05:41
@Maddy onCreate() is mendatory in that case?
yupp
i didnt try, u can try it in onCreateView()
so where ultimately i get model class in fragment in your code?
you just set argument in new instance method
and manage saved instance states
I did it using static constant model :/ and its working as i want
y?
05:49
bc:/ one of the wired patch
:(
so nw?
no I will try to pass object as serilize or praceable if i get free time:/
try this, i have changed lil in ur code
06:03
@Maddy didn't work!
@Radhey ????
@Radhey Where you stuck. It's not that much tough man.
I know , but :/ leave it .. as of now i managed with constant level model class..
MR PATCH
06:16
Yo..
Join Stackoverflow account with any other stack exchange community and get 100reps FREE FREE FREE
KulsDroid, Ahmedabad, India
101 3
Go to this site
You will find Join Community option at the top right corner
Or this one too
You can any open stackexchange community
@InsaneCat (Y)
1 time j mle ?
:D
06:30
Hasto
:D
Got it ?
Are bhai bhai bhai bhai
Your profile says = "Android Developer at Inheritx Solutions "
:D
I have not changed yet
 
3 hours later…
09:12
@Maddy There?
Is anyone familiar with Realm database ?
@SamirBhatt @InsaneCat @Radhey
@Maddy have experience with Realm
Where is he?
09:30
Not much
Better to use room instead
No idea Kuls.. not used yet
0
Q: Realm table show null data

KulsDroidI have used Realm database and I want to store data from the JSON response into Realm. My JSON resoponse is something like, [ { "i_id": "108", "year_id": "122", "departments": [ { "id": 164, "name": "Main Department", ...

In my old project, realm is already integrated
How to offer bounty
?
after 2 days
you'll set a bounty bro.
Okay
@Maddy Any idea after review question ?
10:01
no idea @KulsDroid
Ok bro
 
3 hours later…
13:13
still your account has been temporarily suspended by a moderator and cannot chat for 1 day 2 hours.
13:25
Same here

« first day    last day (356 days later) »