« first day (1142 days earlier)      last day (2841 days later) » 

user5730430
10:01 AM
In my Xib,Am having three Views.’firstView’ starts from 0 to 450,’secondView’ starts from 0 to 300 and ‘thirsView’ starts from 300 to 600. if i first button it should show ‘firstView’ for that am hiding secondView and thirdView. if i click second button means it should show second and thirdView for that am hiding firstView.

My problem is, while clicking first it shows firstView from 0 to 450 and empty space from 450 to 600.How to do this??if i second button means it should start from 450..
 
user5730430
@RicardoAlves solution for this???
 
please explain it with screenshot too
 
yes pls
got confuse reading only first line xD
 
user5846743
@Shubhank im unable to find anything about login/signup in the shoplifting API...any pointers?
 
do you need Xib for this? cant you do it by code?
 
10:03 AM
@Amira nope
maybe read up on their rest api
 
5
Q: MKMapView not loading on mapType MKMapTypeStandard and MKMapTypeHybrid

Dude DeveloperI am developing an app in which 3 different maptype have to load. MKMapTypeStandard MKMapTypeHybrid. MKMapTypeSatellite. MKMapTypeSatellite working fine but when load map in MKMapTypeStandard and MKMapTypeHybrid. It call following delegate method - (void)mapViewDidFailLoadingMap:(MKMapVie...

 
user5846743
that's where i was looking
 
ok
let me check
 
pls help me out if some one know
 
user5846743
wait i got something
 
10:19 AM
@Raghunath print?
 
user5846743
/hangman
 
 +---+
 |   |
 |
 |
 |
_+_
- e e - - - - - - e e -
 
user5846743
/hang r
 
 +---+
 |   |
 |
 |
 |
_+_
- e e - - - r - - e e -
 
user5846743
/hang s
 
10:21 AM
 +---+
 |   |
 |
 |
 |
_+_
- e e - - - r s - e e -
 
user5846743
/hang t
 
 +---+
 |   |
 |   O
 |
 |
_+_
- e e - - - r s - e e -
 
user5846743
/hang i
 
 +---+
 |   |
 |  \O/
 |
 |
_+_
- e e - - - r s - e e -
 
user5846743
/hang a
 
10:22 AM
 +---+
 |   |
 |  \O/
 |   |
 |
_+_
- e e - - - r s - e e -
 
user5846743
/hint
 
Hangman hint : underground
 
user5846743
/hang needforspeed
 
 +---+
 |   |
 |  \O/
 |   |
 |
_+_
n e e d f o r s p e e d
Success. According to Lara.. 'You should get back to work'
 
user5846743
/hangman
 
10:22 AM
 +---+
 |   |
 |
 |
 |
_+_
- - - e - - -
 
user5846743
/hang n
 
 +---+
 |   |
 |
 |
 |
_+_
- - - e n - -
 
user5846743
/hang a
 
 +---+
 |   |
 |   O
 |
 |
_+_
- - - e n - -
 
user5846743
/hang i
 
10:22 AM
 +---+
 |   |
 |   O
 |
 |
_+_
- - i e n - -
 
user5846743
/hang friends
 
/hang t
 
 +---+
 |   |
 |  \O/
 |
 |
_+_
- - i e n - -
 +---+
 |   |
 |  \O/
 |
 |
_+_
f r i e n d s
Success. According to Lara.. 'You should get back to work'
 
user5846743
/hangman
 
 +---+
 |   |
 |
 |
 |
_+_
g - - - - - - -
 
user5846743
10:23 AM
/hang n
 
 +---+
 |   |
 |   O
 |
 |
_+_
g - - - - - - -
 
user5846743
/hang a
 
/hang i
 
 +---+
 |   |
 |   O
 |
 |
_+_
g - a - - a - i
 
user5846743
/hang r
 
10:24 AM
oh! hangman has evolved I see
 
 +---+
 |   |
 |   O
 |
 |
_+_
g r a - - a - i
 
user5846743
haha
 
/hang n
 
Already used
 
/hang m
 
10:24 AM
 +---+
 |   |
 |  \O/
 |
 |
_+_
g r a - - a - i
 
user5846743
/hint
 
Hangman hint : 2 words. its not charts
 
user5846743
:/
 
/hang s
 
 +---+
 |   |
 |  \O/
 |   |
 |
_+_
g r a - - a - i
 
10:25 AM
crap
 
user5846743
/hang p
 
 +---+
 |   |
 |  \O/
 |   |
 |
_+_
g r a p - a p i
 
user5846743
/hang h
 
 +---+
 |   |
 |  \O/
 |   |
 |
_+_
g r a p h a p i
Success. According to Lara.. 'You should get back to work'
 
nice one Amira
 
user5846743
10:26 AM
:D
 
user5846743
/hangman
 
clap clap
 
 +---+
 |   |
 |
 |
 |
_+_
- i - -
 
user5846743
/hang f
 
 +---+
 |   |
 |
 |
 |
_+_
f i f -
 
user5846743
10:26 AM
/hang a
 
it hanged...
(easy joke there)
 
user5846743
she crashed
 
user5846743
hahahhah
 
user5846743
/stats
 
user5846743
/awake
 
10:27 AM
Messages Today : 236
Hangman games : 17
Most Correct letter found by : Amira (47 times) _ 2nd : Erum (11 times) _ 3rd : Erum (10 times)
Most Incorrect letter by : Amira (23 times) _ 2nd : Erum (11 times)
@Amira I am awake!
 
user5846743
ooh.
 
user5846743
/hangman
 
 +---+
 |   |
 |
 |
 |
_+_
- w - - - - -
 
user5846743
/hang twitter
 
 +---+
 |   |
 |
 |
 |
_+_
t w i t t e r
Success. According to Lara.. 'You should get back to work'
 
user5846743
10:28 AM
/hangman
 
 +---+
 |   |
 |
 |
 |
_+_
- a a -
 
@Lara
there u
 
user5846743
/hang saad
 
 +---+
 |   |
 |
 |
 |
_+_
s a a d
Success. According to Lara.. 'You should get back to work'
 
user5846743
/hangman
 
10:28 AM
 +---+
 |   |
 |
 |
 |
_+_
- - - v -
 
user5846743
/hang bravo
 
 +---+
 |   |
 |
 |
 |
_+_
b r a v o
Success. According to Lara.. 'You should get back to work'
 
user5846743
/hangman
 
/cleanup
 
Please use gist.github.com to share code longer than 10 lines in chat
 
10:35 AM
@Shubhank can we have a command to clean hangman?
 
nope :P
did we missed any questions ?
 
@Shubhank:do u know material design in android?
 
yup
 
is it possible in ios?
 
eli
Hey @Shubhank can you help now?
or is anyone else around?
I have a small problem
 
10:43 AM
yup easily possible
 
eli
wont take long
 
wssup
 
eli
basically, my method works
however, it is not updated my onBindViewHolder
realTimeDownVoting() works
 
10:45 AM
?
 
eli
but does not update onBindViewHolder, rather it only updates my QuestionData database
 
you know how to make interface ?
 
eli
I do
but why would I make an interface?
 
make a interface first in your vote class
and override its method in adapter
 
eli
ok, what kind of methods should I put in it?
 
10:47 AM
only updateRecycleView
 
eli
which method in the adapter?
are u refering to?
 
first make a interface in voting class and show me
i will guide step by step
 
and that fab also possible in ios?
 
eli
ok
public interface VotingInterface{

}
thats in my voting class
 
add a method void updateRecycle
 
eli
10:49 AM
ok done
public interface VotingInterface{
void updateRecycle();

}
 
now make a var of it so that you can set the interface from other class
public one
 
eli
public VotingInterface mVotingInterface;
done
 
good, now in onLikemethod wherever you make a voting object
set its mVotingInterface = new Interface
 
eli
Voting voting = new Voting(getAdapterPosition(), ViewpagerAdapter.this, questionId, questionHolder);
voting.mVotingInterface=new Voting.VotingInterface() {
@Override
public void updateRecycle() {

}
};
ok
 
yup
notifyDataSetChanged();
call that in the updateRecycle method
 
eli
10:53 AM
QuestionData questionHolder = data.get(position);
                Voting voting = new Voting(getAdapterPosition(), ViewpagerAdapter.this, questionId, questionHolder);
               voting.mVotingInterface=new Voting.VotingInterface() {
                   @Override
                   public void updateRecycle() {
                       notifyDataSetChanged();
                   }
               };
                voting.onUpVote();
                voting.realTimeUpVoting();
ok
 
    mQuestionData.setVotes("" + voteNumber);
after that just call self.mVotingInterface.updateRecycle()
 
eli
So in voting class
public void realTimeDownVoting(){
String voteString= mQuestionData.getVotes();
int voteNumber=((Integer.parseInt(voteString))-1);
mQuestionData.setVotes("" + voteNumber);
mVotingInterface.updateRecycle();
}
public interface VotingInterface{
void updateRecycle();
}
and in the Adapter its
QuestionData questionHolder = data.get(position);
                Voting voting = new Voting(getAdapterPosition(), ViewpagerAdapter.this, questionId, questionHolder);
               voting.mVotingInterface=new Voting.VotingInterface() {
                   @Override
                   public void updateRecycle() {
                       notifyDataSetChanged();
                   }
               };
                voting.onUpVote();
                voting.realTimeUpVoting();
            }
 
yup
 
eli
does it matter if voting.onUpVote();
voting.realTimeUpVoting(); comes before or after the interface?
 
nope
 
eli
11:02 AM
hmmm.....i got a NullPointerException
its point towards this line
    mVotingInterface.updateRecycle();
which makes sense
I never set to anything
 
voting.mVotingInterface
you do
 
this is sandbox chat,
so i can do anything with this ?
 
eli
I should make a new Voting object inside the class and then call that voting object?
 
this aint sandbox
 
eli
with an interface?
 
11:09 AM
please show all code in a gist
i will leave in 5 min
 
                Voting voting = new Voting(getAdapterPosition(), ViewpagerAdapter.this, questionId, questionHolder);
after this line first add the mVoting interface
then the other realtimevoting lines please
 
eli
ok
so this
 
/cleanup
 
Please use gist.github.com to share code longer than 10 lines in chat
 
11:15 AM
-_-
 
/cleanup
 
Please use gist.github.com to share code longer than 10 lines in chat
 
eli
@Shubhank I think my numbers work, but my saved states got screwed up
should I make an interface for it as well?
 
11:20 AM
donno dont care
cya
 
eli
pce
lol
thanks for you help though
 
Any one know about how to set the max date that depends on First datePicker output? I have two datepicker dialoge.If I select the on fist date picker date"20-05-2016", then second timepicker have max value upto "27-05-2016" only.
 
12:04 PM
/hangman
 
/Kamini not deteched
 
this chat is so pro Indian, how to win at hangman, when service is not up?
 
12:18 PM
@zaptech looks like you just need to add a week to the max date of your second date picker... you can detect when the first datePicker has changed its date from this link: stackoverflow.com/a/11866922/3543861
 
user5730430
hi @MSU_Bulldog how r u?
 
user5730430
after long time
 
@zaptech add one week to NSDate: stackoverflow.com/a/27914417/3543861
hey @Raghunath doing good, how about you?
 
user5730430
good...
 
@MSU_Bulldog:In Andriod
 
12:21 PM
:/
 
/help
 
user5730430
12:40 PM
how to get current location longitude and latitude value???
 
ask to kamini
 
/stats
 
Kaminapan Initialized
 
12:56 PM
@LiquidPenguin oops
 
/stats
 
Messages Today : 1
Hangman games : 0
Most Correct letter found by : No one
Most Incorrect letter by : No one
 
/hang
 
 +---+
 |   |
 |
 |
 |
_+_
- - - - s - - - -
 
/hint
 
12:58 PM
Hint obscured till 2 lives left
 
/hang s
 
Already used
 
@NitinGohel hi
/hang a
 
@SaadChaudhry hi brother
 
 +---+
 |   |
 |
 |
 |
_+_
- a - - s - - - -
 
12:59 PM
/hang e
 
 +---+
 |   |
 |
 |
 |
_+_
- a - e s - - - -
 
/hang r
 
 +---+
 |   |
 |   O
 |
 |
_+_
- a - e s - - - -
 
/hang i
 
 +---+
 |   |
 |  \O/
 |
 |
_+_
- a - e s - - - -
 

« first day (1142 days earlier)      last day (2841 days later) »