« first day (1492 days earlier)      last day (1983 days later) » 

7:00 AM
This reference make it as class level variable
 
@TheLittleNaruto no need for that I guess, he can get the marker in onMarkerClick
tho he might need it after clicking outside
 
@berserk yes right
But he is saying some other marker is there
 
lmao
 
So I am suspecting that may be because of wrong reference
 
7:01 AM
wow, @Dro never told us he had a pic with Obama
 
@Hans1984 meow-hey
 
:\
 
@TheLittleNaruto tbh, I Didn't get the issue he mentioned
 
@Hans1984 wtf lol
 
@berserk that's not a wolf :/
 
7:01 AM
@Hans1984 co-workers are already looking at me because I sometimes just randomly start laughing lol
 
Any help would be appreciated
 
haha
 
@TheLittleNaruto good morning sir!
 
@DroidDev oh, @Pro then
 
i also almost bursted out laughing
 
7:02 AM
@berserk or @TheLittleNaruto given the room context ;)
 
@Hans1984 lol
 
@xZ4FiRx The paste is not opening at my laptop (blames ISP)
 
@geisterfurz007 very good morning child. And sir ? Really ? Am I that old ?
 
@DroidDev lol true
 
@DroidDev yeah
 
7:03 AM
@DroidDev ^^
 
@berserk and @TheLittleNaruto this is all my class
 
I am on mobile @Sandro
 
@TheLittleNaruto get off it. It'll break
 
@DroidDev or maybe will lost in depth :P
 
@berserk LMAO, that suction power
 
7:06 AM
TRIGGERED
 
lmao
 
@TheLittleNaruto Child, huh... Am I really that young? And I do not know... I just wanted to be polite :D
 
gist: 8ef99c12676387a24ac9ec4ed3044648, 2016-12-08 07:06:44Z
package com.example.noavaran.drugstore.Fragment;


import android.location.Location;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Toast;

import com.example.noavaran.drugstore.R;
import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.api.GoogleApiClient;
import com.google.android.gms.location.LocationListener;
import com.google.android.gms.location.LocationServices;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.MapView;
import com.google.android.gms.maps.MapsInitializer;
import com.google.android.gms.maps.OnMapReadyCallback;
import com.google.android.gms.maps.SupportMapFragment;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.android.gms.maps.model.CameraPosition;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.Marker;
import com.google.android.gms.maps.model.MarkerOptions;

/**
 * A simple {@link Fragment} subclass.
 */

public class MenuFragment extends Fragment  {
    MapView mMapView;
    private GoogleMap googleMap;
    Location mLastLocation;
    public LatLng sydney;

    public MenuFragment() {
        // Required empty public constructor
    }



    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        final View rootView = inflater.inflate(R.layout.fragment_menu, container, false);


        mMapView = (MapView) rootView.findViewById(R.id.mapView);
        mMapView.onCreate(savedInstanceState);

        mMapView.onResume(); // needed to get the map to display immediately
        try {
            MapsInitializer.initialize(getActivity().getApplicationContext());
        } catch (Exception e) {
            e.printStackTrace();
        }
        mMapView.getMapAsync(new OnMapReadyCallback() {
            @Override
            public void onMapReady(GoogleMap mMap) {
                googleMap = mMap;

                // For showing a move to my location button
                googleMap.setMyLocationEnabled(true);

                // For dropping a marker at a point on the Map

                /* googleMap.addMarker(new MarkerOptions().position(sydney).title("Marker Title").snippet("Marker Description")).
                        setIcon(BitmapDescriptorFactory.fromResource(R.drawable.position_icon));*/
googleMap.setOnMyLocationChangeListener(new GoogleMap.OnMyLocationChangeListener() {

    @Override
    public void onMyLocationChange(Location location) {

        sydney=new LatLng(location.getLatitude(), location.getLongitude());
        googleMap.addMarker(new MarkerOptions().position(sydney).title(""))
        .setIcon(BitmapDescriptorFactory.fromResource(R.drawable.position_icon));
        CameraPosition cameraPosition = new CameraPosition.Builder().target(sydney).zoom(12).build();
        googleMap.animateCamera(CameraUpdateFactory.newCameraPosition(cameraPosition));
       
        googleMap.setOnMarkerClickListener(new GoogleMap.OnMarkerClickListener() {
            @Override
            public boolean onMarkerClick(final Marker marker) {
                marker.setTitle(markerLocationName)
                                .setSnippet(markerSubCategoryName)
                                .setIcon(BitmapDescriptorFactory.fromResource(R.drawable.logo));
                return false;
            }
        });
       

    }


});

                // For zooming automatically to the location of the marker
               /* */
            }
        });
        return rootView;
    }

    @Override
    public void onResume() {
        super.onResume();
        mMapView.onResume();
    }

    @Override
    public void onPause() {
        super.onPause();
        mMapView.onPause();
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        mMapView.onDestroy();
    }

    @Override
    public void onLowMemory() {
        super.onLowMemory();
        mMapView.onLowMemory();
    }


}
@Sandro Y
brb
 
lol wtf
pastebin
 
7:10 AM
> Drop your long code in paste.ofcode.org
 
ha ha ha
 
spanks berserk
 
yeah
 
im NEVER posting off topic so im allowed to say that
:p
 
ha ha ha
spanks :D
 
7:11 AM
yeah nothing like weird maps or something lol
 
GUITAR GUY
@berserk
 
play some guitar for us kitty
will ya?
 
m not @berserk
 
a friend of mine just asked me (when I annoyed them too much), "Why don't you die?" and now I am seriously thinking, "Why am I living?" :/
 
@Hans1984
 
7:11 AM
lol
 
@DroidDev good thought
 
what a good friend that must be
 
@kitty :3
@Hans1984 oi!
 
@Hans1984 actually, I am better ;)
 
@DroidDev dark humor
lol deleted
2
@xZ4FiRx
What was your issue?
 
7:14 AM
to many ifi mean c'on
 
the paste opening now
 
lol, it kinda takes more than that to get me aggressive @Hans1984
 
is that how you guys make fun of each other?
 
it was all a fun between friends
 
why dont you just die?
xD
 
7:14 AM
@Hans1984 LMAO
 
vaddin
 
well nevermind
no its vaadin
 
ha ha
 
@Hans1984 its still not that bad
 
yesterday issue solved
@Hans1984
whtever
 
7:15 AM
@berserk he is trying to change the icon of the marker on which he is clicking
 
damn to slow @Hans1984 :/
 
@TheLittleNaruto yeah I know but I mean the issue he getting from solution I linke
d
 
@DroidDev xD
 
J2EE @Hans1984
 
@geisterfurz007 lol SO displaying gist expanded
 
7:16 AM
@geisterfurz007 that's what an American would say when you'll call them Sir
@berserk ok
 
vaadin is from sweeden
 
owhk
 
Vaadin is an open-source web framework for rich Internet applications. In contrast to JavaScript libraries and browser-plugin based solutions, it features a server-side architecture, which means that the majority of the logic runs on the servers. Ajax technology runs on the browser-side to ensure a rich and interactive user experience. On the client-side Vaadin is built on top of and can be extended with Google Web Toolkit. == Features == Vaadin uses Java as the programming language for creating web content. The framework incorporates event-driven programming and widgets, which enables a ...
 
@TheLittleNaruto well then :D In the UK it would be different I think ^^
 
the great thing about it is
you can write the whole thign in java code
no html xml js
whatever
 
7:18 AM
@Hans1984 except you can't? Or did you get it to work?
 
@Hans1984
i wish india will be there
@TheLittleNaruto @TheFlash @Hans1984 @AshuKumar @Radhey @Radhey @berserk @jafarbtech @DroidDev @ColdFire @rekire @MukeshRana @ItachiUchiha
 
so we are top 10
crab land 3rd
:o
 
@kitty guess it will be, soon
 
rabbit land 8th
 
in india only 3% cashless transactions
ha ha
@rabbitguy
 
7:21 AM
@kitty eventually it'll be
 
@kitty well at least they tried :D
 
:(
@DroidDev hope
and fast
 
!!meow
 
7:32 AM
!!break
 
cmon screw this!
 
:)
 
I am currently changing my application from Absolute to SpringLayout. Biggest bullshit Best thing (everything ok sensitive moderator o/ ) ever experienced
 
are you doing an internship?
 
7:39 AM
dual studies... March starts my study part
 
oh i see
mit abi?
 
Anyone uses re2J for regular expressions with Java?
 
Using the showInputDialog, how do you only accept an integer or double as the input?
user validation
 
Good morning guys
@Hans1984 & @geisterfurz007 please write english only. a short hello in German is still fine
 
7:51 AM
12 messages moved to Trash can
morning @rekire
 
@xZ4FiRx something like this
 
@berserk vgm
 
it was difficult to phrase those things in english
thats why i switched to german
@rekire
 
what does vgm mean? I searched for it and it said video game music...
 
that is fine but keep it in mind ;)
 
7:51 AM
good morning btw
;)
 
@rekire ay ^^
 
@geisterfurz007 very good morning :D
 
@rekire oh ok thanks :)
 
@Hans1984 vgm
 
Is there an easy way to get the widest labels width except then looping and checking each one?
 
7:59 AM
@rekire
 
Note: I stored them in an ArrayList<JLabel>
 
how can i handle itemlist with this type of null
[
{
"itemList": [
null
],
"status": "1",
"Message": "SUCESS"
}
]
 
!!hang 6
 
  +---+
  |   |
  |
  |
  |
__+__

------
 
!!hang r
 
8:02 AM
  +---+
  |   |
  |
  |
  |
__+__
r
r-----
 
!!hang o
 
  +---+
  |   |
  |
  |
  |
__+__
o, r
ro----
 
:D
!!hang n
 
  +---+
  |   |
  |
  |
  |
__+__
n, o, r
ro-n--
 
!!hang u
 
8:02 AM
  +---+
  |   |
  |
  |
  |
__+__
n, o, r, u
roun--
 
!!hang d
 
  +---+
  |   |
  |
  |
  |
__+__
d, n, o, r, u
round-
 
!!hang s
 
@Hans1984 Correct! The word is rounds.
 
thats how you do it
\o/
 
8:03 AM
any java devs ?
 
@Radhey nope
 
gj :D Wanted to write lol in the chat and now wrote lol in my program xD
@Radhey not a good one here o/
 
hehe
 
:/
 
@geisterfurz007 good :D
 
8:04 AM
!!hang all
 
  +---+
  |   |
  |
  |
  |
__+__
all
---------------all-
 
lucky radhey
very very lucky
!!hang r
 
  +---+
  |   |
  |
  |
  |
__+__
all, r
-----r---------all-
 
!!hang o
 
8:05 AM
  +---+
  |   |
  |
  |
  |
__+__
all, o, r
-----ro--------all-
 
!!hang n
 
  +---+
  |   |
  |
  |
  |
__+__
all, n, o, r
-----ro---n----all-
 
!!hang s
 
  +---+
  |   |
  |   O
  |
  |
__+__
all, n, o, r, s
-----ro---n----all-
 
!!hang m
 
8:06 AM
  +---+
  |   |
  |   O
  |
  |
__+__
all, m, n, o, r, s
-----rom--n----all-
 
@AdityaVyas-Lakhan what is the matter? to check if the value is null or not set?
 
"itemList": [
null
],
how can i access null like this?
 
@Hans1984 whats the matter?
 
i was just refering to his code
if you look closely
 
lol :D
 
8:10 AM
;)
 
@Radhey do u know?
 
what ?@AdityaVyas-Lakhan ?
 
see above
json response
 
just a min , you want to parse it ri8?
 
i am able to parsing
but the issue is how can i check itemlist is null or not?
 
8:20 AM
then what was ur issue
amm
 
how can i check itemlist is null or not?
 
@geisterfurz007 Not sure! May be!
 
wait
 
@kitty India will be there soon
 
@TheLittleNaruto how u bro
 
8:23 AM
/help
!!help
 
@Shailesh Information on interacting with me can be found at this page
 
okay
!!/listcommands
 
@Shailesh help, afk, ban, convert, define, die, doge, eval, forget, google, hang, imdb, info, jquery, learn, listcommands, listen, live, mdn, meme, moustache, msdn, mustache, nudge, refresh, spec, stat, stats, summon, tell, unban, undo, unonebox, unsummon, urban, weather, welcome, wiki, xkcd, youtube, zalgo, !, !!, $.baby, (4337654<<1)+1, (y), /somecommand, 0, 1, 2020/07/23, 3, 666, :3, :p, </pissing>, ?, @tim, ^, ^5, abesnacking, abhi, abhishekpornfreak, acronym, adhd, ah, ahah, algosmarts
aliens, all, am, angryticks, answer_to_everything, apocalypse, appreciated, archerneat, armforce, art
 
@AdityaVyas-Lakhan I am good. How are you ?
 
8:24 AM
good too
 
@ケセブロト Morning small insect
 
!!/help
 
man 22 new msgs
 
@Shailesh Information on interacting with me can be found at this page
 
thought rabbit joined the chat
 
8:25 AM
@TheLittleNaruto lol
 
@ケセブロト Good morning :)
 
@AdityaVyas-Lakhan , you are able to get keyname of that array?
every time
 
!!hang
 
@Shailesh We're already playing!
 
crushes small insect
 
8:26 AM
@TheLittleNaruto little insect?!
 
This Should give me the width of the widest label or am I missing something?
 
:D
!!shrug
 
¯\_(ツ)_/¯
 
i am getting that response when itemlist is null
 
@ケセブロト Your avatar is too small to see. That's why
 
8:26 AM
it doesnt matter to caprica
we are all just insects to her
 
gudetama
 
Your avatar is not the yellow from the egg xD
 
@ケセブロト I liked the way you took birth in this universe <3
 
!!hang a
 
  +---+
  |   |
  |   O
  |
  |
__+__
a, all, m, n, o, r, s
-----roma-n----all-
 
lol that gif
 
@Hans1984 yes that's how he took birth
 
8:29 AM
ass first?
 
@ケセブロト This Should give me the width of the widest label of the list or am I missing something?
 
of course
 
but still ther is one question @TheLittleNaruto
 
i see
 
@Radhey And what's that ?
 
8:30 AM
eag came first or chicken !
 
lol
 
@Radhey neither. I directly send one hen and one cock to do the rest breeding. And remember:
Nov 18 at 11:18, by TheLittleNaruto
I am reincarnation of Jesus. So you're actually talking to God not just TheLittleNaruto.
When someone presses hard on @ケセブロト ass
 
a hm..interesting , ...
 
lol
 
8:33 AM
then what about #rooster
 
@TheLittleNaruto WTF
 
fox xD
 
XD
 
8:34 AM
Get that out of my head! NOW
 
@TheLittleNaruto
 
EVIL FOX
 
:)
 
8:40 AM
@Hans1984 arrival time
 
I have a list of labels. I get the widest label width with a for loop. I print the values of the increasing variable: 106,224,335,200
 
back from lunch
 
@kitty wb
 
@geisterfurz007 yup
 
BREAD?@kitty
 
8:44 AM
This sh*t lands either at 250 or 200 and I have no idea why! Would you mind haveing a look @Hans1984 @kitty ?
Oops having a typo in there ^^' var is named maxWidth also on top there
 
@geisterfurz007 Was that the reason ?
 
Because I can't see anything else wrong
 
smart fox
 
 
8:46 AM
I had to change my german variables to make it easier to understand ^^
 
Hans :)
 
ohhh
sniper cat
 
fresh rabbits for fox
 
@Hans1984 <3
 
;)
 
8:47 AM
like hitcat
 
thanks Man
 
@TheLittleNaruto I also looked if I had another variable with the same name but it does not seem to be like it...
 
@TheLittleNaruto vgm
 
@geisterfurz007 I want to see more code
@rekire vgm
 
@rekire VGM
 
8:49 AM
There is not much more relevant code... Labels are filled with DataBase data -> dynamic based on the choice in a comboBox. Then using a springlayout I wanted to set all labels an equal width so that following components on the right side are aligned
 
@geisterfurz007 I meant how are you getting max width out of it ? by that maxWidth variable ?
 
@Hans1984 how can a master be veg!!!
 
im no veg
 
@TheLittleNaruto That was the thought actually yeah
 
i eat everything that comes in my sight
why did you think im veg?@jafarbtech
 
8:54 AM
@Hans1984 then always u eat bread
@Hans1984 ha haa... every thing ? :P thats the beauty of cat
;)
 
@jafarbtech vgm
 
gues what i put on those breads
MEAT!
 
NOPE
 
@Hans1984 ha haa....
@kitty nope? what
 
:D
m veggie cat
:3
NO KILL MOUSE
 
8:56 AM
@kitty OMG
 
but 2 3 times just tested :P
 
@kitty WHATTTTTTTTTT?
 
:D
 
!!what
 
8:57 AM
@kitty killing rats is the best thing of cats
 
:)
@jafarbtech
 
@kitty Me too chewbacco
 
chewbacco cat
 
ha ha ha @TheFlash hmmm
 
;0
 
8:57 AM
chewbacco hahahahha
 
:34483274 thats so clean... i expect little a bit nasty :D :D
@TheFlash flash is also veggiee?
 
@jafarbtech veggiee?
 
na germans are always clean and correct right?
thats the cliche
;)
 
hmmmm
 

« first day (1492 days earlier)      last day (1983 days later) »