Profile

Cover photo
Ralph Bergmann
Lived in Berlin
140 followers|230,961 views
AboutPostsPhotosYouTube

Stream

Ralph Bergmann

Shared publicly  - 
 
New research finds that, contrary to popular belief, restructuring software code to be more maintainable and efficient may not be worth the time and effort
1
Wolfram Rittmeyer's profile photo
 
Interesting. If this is indeed valid, though, depends on the project and refactorings done and why they were done.

You don't refactor just for the fun of it, you do so because you already realized that there's a reason. E.g. you had to maintain code and it already was hard to maintain. Whether your improvement stands the proof of time is another question :-)
Add a comment...

Ralph Bergmann

Hilfe & Tipps & Tricks  - 
 
Sicher testet Ihr Eure App ganz ausgiebig und habt deshalb Erfahrungen mit dem Ausführen von AndroidTest mit Gradle?! Wenn ja, dann klickt doch mal auf den Link und helft mir :-)
 ·  Translate
1
1
Stefan M.'s profile photoStefan Reichenbach's profile photoRalph Bergmann's profile photo
4 comments
 
ja ein Hoch auf AndroidStudio... hatte ich es schon erwähnt, dass ich AS nicht mag? Ich will wieder Eclipse :-(

Okay also Fehler gefunden. AS hatte mir für meinen ActivityTest den falschen Constructor vorgeschlagen.

Den schlägt AS vor:
    public ActivityTest(Class<MainActivity> activityClass) {
        super(activityClass);
    }

Der muss es aber sein, damit der Test ausgeführt werden kann:
    public ActivityTest() {
        super(MainActivity.class);
    }
 ·  Translate
Add a comment...

Ralph Bergmann

Allgemeine Diskussion  - 
 
hat eigentlich jemand (geheime) Informationen, ob die Lockscreen-Widgets irgend wann wiederkommen werden? Diese sind ja nun seit Lollipop (bzw. seit es sie bei iOS gibt?) weg :-(
 ·  Translate
1
Stefan M.'s profile photoWolfram Rittmeyer's profile photo
3 comments
 
Sie waren ja eh nur kurz drin. Mit JB rein gekommen, mit KitKat bereits stark eingeschränkt (man musste die in den Settings explizit einschalten). Ich sehe nicht, dass die in absehbarer Zeit wieder kommen.
 ·  Translate
Add a comment...

Ralph Bergmann

Shared publicly  - 
 
 
I try to use Otto, it works so far but I receive the events twice :-(
4 comments on original post
1
Add a comment...

Ralph Bergmann

Shared publicly  - 
 
 
Every developer is like: I want you in my life!

Finally a tool that makes working with your talented designers so much easier. The tool knows what you need for your project and both, dev and designer, can focus on what they're best at.

So much win!

#AndroidDev #webdev and even #iosdev
11 comments on original post
1
Jan Lolling's profile photoRalph Bergmann's profile photo
2 comments
 
Ne das mit dem Farben haben sie nur als Beispiel genommen (um mehr zeigen zu können). Ich hab es so verstanden, dass der Designer damit einfach die UI zusammenklicken kann und der Entwickler sich daraus dann die nötigen Infos rauszieht, die er braucht, um die UI im Code nachbauen zu können. Deshalb zum Beispiel auch der Export der Farben.
 ·  Translate
Add a comment...

Ralph Bergmann

Shared publicly  - 
 
Weiß eigentlich jemand, ob die Google Play Music App auch an etwas anderes als ein Chromecast streamen kann? Würde gerne mit der Media Router API die Musik umleiten.
 ·  Translate
1
Add a comment...
Have him in circles
140 people
Janine Panse's profile photo
Webmontag Berlin's profile photo
Eberhard Wolff's profile photo
Ines Scheffler's profile photo
Ria Gra's profile photo
eomobi's profile photo
Filipe Bezerra de Sousa's profile photo
Patrick Rybicki's profile photo
Ralph Bergmann's profile photo

Communities

29 communities

Ralph Bergmann

Shared publicly  - 
 
Hilfe!!!
 ·  Translate
 
Sicher testet Ihr Eure App ganz ausgiebig und habt deshalb Erfahrungen mit dem Ausführen von AndroidTest mit Gradle?! Wenn ja, dann klickt doch mal auf den Link und helft mir :-)
 ·  Translate
4 comments on original post
1
Add a comment...
 
I try to use Otto, it works so far but I receive the events twice :-(
1
1
Jake Wharton's profile photoAnthony Robledo's profile photoRalph Bergmann's profile photo
4 comments
 
I am also seeing an event that is being received twice. I am not using a producer. I post() inside an onClick and my @subscribe in another class is called twice for the one click.
Add a comment...

Ralph Bergmann

Shared publicly  - 
 
 
One of the more useful things that +Chris Banes "graduated" from the internal package in the latest appcompat-v7 drop is android.support.v7.widget.ListPopupWindow.

No more need to try and emulate the look and feel of a popup window with a custom styled and positioned dialog for older platform releases.

Use R.layout.abc_popup_menu_item_layout for platform-consistent appearance (text style, margins, regular / ripple highlights) in your list adapter. Then set it with ListPopupWindow.setAdapter, optionally register a dismiss listener (note how the overflow dots for the "active" popup are darker), set anchor view for properly positioning the popup, compute the content width based on the content of your list, optionally mark it as modal so that it can be dismissed by tapping outside and don't forget to call show().
22 comments on original post
2
Add a comment...
 
Does anyone know if it is possible to stream Google Play Music via the Media Router API? Or is only streaming to a Chromecast possible?
1
Nathan Schwermann's profile photo
 
Yes it gives me the option for my bluetooth stereo as well.
Add a comment...
 
How can I delay a Square MockWebServer HTTP response?

/cc +Jake Wharton 
2
1
Wei Liu's profile photo
Add a comment...
People
Have him in circles
140 people
Janine Panse's profile photo
Webmontag Berlin's profile photo
Eberhard Wolff's profile photo
Ines Scheffler's profile photo
Ria Gra's profile photo
eomobi's profile photo
Filipe Bezerra de Sousa's profile photo
Patrick Rybicki's profile photo
Ralph Bergmann's profile photo
Communities
29 communities
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Previously
Berlin
Links
Story
Tagline
ich bin ich :-)
Work
Occupation
iOS and Android developer
Basic Information
Gender
Male