« first day (1362 days earlier)      last day (2113 days later) » 

2:40 AM
@GurpreetKaur well that's what he keeps telling us. :-)
 
 
2 hours later…
4:29 AM
Can anyone please answer on this question. I am stuck to implement FB invite friend feature to my android app...Please help on stackoverflow.com/questions/38677049/…
 
Hi anybody here ?
 
 
1 hour later…
5:56 AM
(҂ `з´ ). ︻╦̵̵̿╤── - - ƪ(⁰o⁰;)ʃ @TheLittleNaruto
 
@ankitagrawal , I have an application in java
When I run it and deploy it as an jar file then it behaves differently
 
6:34 AM
no idea man never had this kind of issue
 
6:58 AM
btw i noticed a user get 200k rep from one answer
i mean wtf is wrong with SO rep system
 
Well that may be a deserving answer :)
 
well answer is deserving
but 200k rep seriously
15220
Q: Why is it faster to process a sorted array than an unsorted array?

GManNickGHere is a piece of C++ code that seems very peculiar. For some strange reason, sorting the data miraculously makes the code almost six times faster. #include <algorithm> #include <ctime> #include <iostream> int main() { // Generate data const unsigned arraySize = 32768; int data[arr...

most popular question on SO
 
asked

4 years ago

viewed

830133 times

active

4 days ago
 
So you can imagine why it got so many upvotes.
 
7:11 AM
man 4 year old question doesnt mean 22k upvotes
no answer comes close to that many upvotes
 
Dude check the number of views stat before saying anything.
 
well i did check that too
 
Considering that, it's less upvotes
 
8 lakhs
man i wish i would have answered that
 
 
7 hours later…
2:20 PM
2
Q: Passport.js sessions are not set when Login with Android

PomeGranateIn my AuthController.js I check if login is sucessful and set a hashcode in the session: req.logIn(user, function (err) { if (err) res.send(err); var redirectTo = req.session.redirectTo ? req.session.redirectTo : '/user/show/'+user.id; delete req....

 
2:31 PM
anyone there i need some suggestion on custom navigation view
please respond
 
2:43 PM
Hi, everybody
 
 
1 hour later…
3:43 PM
07-31 15:39:57.649 18735-18735/me.choix.crowdselfie E/AndroidRuntime: FATAL EXCEPTION: main
                                                                      Process: me.choix.crowdselfie, PID: 18735
                                                                      java.lang.OutOfMemoryError: Failed to allocate a 6553612 byte allocation with 3026528 free bytes and 2MB until OOM
                                                                          at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
How do you do that with fragments?
 java.lang.OutOfMemoryError: Failed to allocate a 6553612 byte allocation with 3026528 free bytes and 2MB until OOM
 
 
3 hours later…
6:51 PM
The question recieved 15k upvotes, no wonder the answer got 22k.
 
can anyone take a look at my question
doesn't you already pass the userPushKey to the ToDo activity via intent? then you can just instantiate the UserToDoAdapter by calling mAdapter = new UserTodoAdapter(this, getIntent().getStringExtra("key")); instead of mAdapter = new UserTodoAdapter(this); to pass the push key value. make sure you add the constructor in the adapter from my answer. — Wilik 18 mins ago
opps
i accidentally copied the comment
1
Q: Android - Pass an intent from one activity to another that implements a callback class with Firebase

Lorek BryansonI have two activities: AddUser and ToDo. ToDo implements a class with callback. ToDo allows the user to create a to do list, and the to do items will be displayed instantly in a recyclerView. User can add, update, or delete to do items in ToDo. AddUser.java public class AddUser extends AppCompa...

i understand and don't understand at the same time of what Wilik explained
 
7:10 PM
hi lorek, at which part you don't understand?
 
hi
thanks for finding me here
when you said calling mAdapter = new UserTodoAdapter(this, getIntent().getStringExtra("key"));
how is this going to put the key into the reference i want
mUserTodoRef = FirebaseDatabase.getInstance.getReference().child(users).child("push key from AddUser").child("todo");
to this line
 
you have to add the constructor which takes a String argument
the example is in my answer
your adapter will look something like this paste.ofcode.org/MdmreeBXZgDnZpYpZDbvmZ
getIntent().getStringExtra("key") is the code to get the extras from the previous activity
 
7:38 PM
strange
it throws incompatible type
for this line
mAdapter = new UserTodoAdapter(this, getIntent().getStringExtra("key"));
it says required: objects
but found: adapters
do you have any idea
 
can you post your full UserTodoAdapter class?
there should be a constructor with context as an argument
 
ok
i'm updating my question
 
7:57 PM
ok i updated the UserTodoAdapter code in my question
sorry for taking so long
 
8:25 PM
weird
 

« first day (1362 days earlier)      last day (2113 days later) »