async task needs 2 clicks or requests to execute?

Developing Android Apps - Fri, 11/16/2018 - 11:38


I have multiple async tasks in my app such as logging in, or retrieving trip data from a database. For some reason, I need to click twice (for logging in for example) for the task to go through. I know that the button click is registering because the progress animation works.

This also happens in another class where the first time I go to the tab, it does not show the data its supposed to retrieve. But when I switch tabs again and come back, it updates.

Code for Async task

Code for entire classs (sorry its a super long class but i suspect the issue is probably within the async task anyways)

Any ideas? Thanks

submitted by /u/rayano24
[link] [comments]
Categories: Android, Linux

Oracle snaffles up a chunk of SD-WAN market with Talari Networks buyout

The Register - Fri, 11/16/2018 - 11:00
As shareholders sign off on Big Red's big pay packet for first time in seven years

Oracle is to slurp up software-defined WAN provider Talari Networks for an undisclosed sum.…

5 Easy Tips for Linux Web Browser Security - Fri, 11/16/2018 - 10:39
Title: 5 Easy Tips for Linux Web Browser Security16 NovLearn more

Creating your own linux flavour

Linux - Fri, 11/16/2018 - 10:38

Hello to the lovely linux community

My name is George and I am a grade 12 student from Greece... I've been in love with programming since I was in junior high school and recently I started using only linux instead of windows. So I was wondering... Wouldn't it be nice to create my own version of linux (since it is open sourced) or at least tweak some of the other flavours of linux that exist? So I came here and im asking this question. What is the best way to start programming my own version of linux (both gui and source code), or at least how to change stuff from the other open linux versions? I would like to be active in this community ;D

submitted by /u/Moekindo
[link] [comments]
Categories: Linux

Backdating xserver on Ubuntu?

Linux - Fri, 11/16/2018 - 10:34

I'm writing a report for university about the new X11 privilege escalation bug, but I'm not sure how to go about installing the vulnerable version 1.20.0. Can anyone give me some pointers?

submitted by /u/One_Man_Crew
[link] [comments]
Categories: Linux

Have anyone tried running Linux on the Windows ARM laptops?

Linux - Fri, 11/16/2018 - 10:26

Like the ASUS Novago and the Lenovo and Hp ones?

Is there UEFI on them or does it use a integrated bootloader in the snapdragon processors?

submitted by /u/RaXXu5
[link] [comments]
Categories: Linux is released :D Start sharing your recordings

Linux - Fri, 11/16/2018 - 10:15

I've just released to allow Terminalizer's users to share their recordings online and get a link for a web player :D

Have fun sharing your recordings :D

Terminalizer 🦄 Record your terminal and generate animated gif images

submitted by /u/faressoft
[link] [comments]
Categories: Linux

What do you think about Flutter?

Developing Android Apps - Fri, 11/16/2018 - 10:14

I'm a native mobile developer, working with Java/Kotlin last 4 years. A half year ago I was trying a swift... I like mobile applications, I like to develop them, but it takes a lot of time to develop for 2 Platforms. I've tried Xamarin, react native, but all these engines have different problems. The problem with many cross-platform engines is that they don't work any further than the "todo-app".

There are cases when large companies use cross-platform development, but more often I see the headlines "Airbnb drops React Native".

I was at a conference a few weeks ago, and there were guys from Google who were very active advocates for Flutter.

So... What do you think about Flutter? I'm planning to try Flutter + AR, but maybe someone already tried it and were disappointed, or Vice versa.

submitted by /u/vleonov
[link] [comments]
Categories: Android, Linux

[Dev] Backdrops v4.0! - Promo Codes Inside!

Android - Fri, 11/16/2018 - 09:59

Hi! I'm Kxnt (kant), one of the devs of Backdrops. It's a little wallpaper app you might've heard of. It has exclusive designs created by us along with a curated Community section featuring nothing but high quality user shots.

After a couple of months in alpha, and a few weeks in beta, we just finished rolling out Backdrops v4.0! We've updated and redesigned the entire app with our own flavor of Material Theming, including a new color scheme, iconography & a bold new font. We think you guys are gonna like it.

Here's an imgur gallery with some preview shots of the new look.

To celebrate this delicious update, we're giving away some Promo Codes for Backdrops Pro. Going Pro removes all ads, and unlocks some other features such as collections, saving exclusives and applying from notifications.

Here's a Google Sheet doc with 40 Pro codes. First come, first serve! Go! (To use a code, just install Backdrops. Then open up the Play Store, slide out the left drawer and select Redeem). Once these are all gone, I'll be posting more codes in the comments throughout the day.

Let us know what you think of the new update!

Play Store link.

submitted by /u/Kxnt
[link] [comments]