recyclerview isn't horizontal, nor vertical — the layout manager defines the layout of items you can do it the same way as with any recyclerview — just change layout manager to linearlayoutmanager(horizontal mode)
Are calls to getResources() slow? For example, in Cash Caretaker, I have a transaction adapter and in each row I color code a transaction indicator. Inside onBindViewHolder, I make a call to mContext.getResources.getColor(R.color.red) or green. Is it better if I made those calls inside the constructor and kept a reference at the class level so that in onBindViewHolder I can just set holder.indicatorView.setBackgroundColor(mRed)?
This way I'm only calling getResources twice (once for each color) instead of once for each row (which will get more expensive as time goes on)
When you do something as simple as refactor files into proper packages and rename things to increase your naming convention it bloats your git activity so bad.
My coworker once shared a quote with me, I forgot who it was from but it was "Today I removed 300 lines of code, and it was the most productive day I've ever had."
It's a great feeling when you can remove unused code without hurting the apps preformance. Now in my case today I rewrote a lot of classes and deleted the old ones but still, I feel so much more comfortable with this code now.
Now I just need to figure out if I do have my keystore file on my old hard drive and if not figure out a way to get it back or publish a new version of this app.
I generate random names and my "lets try if this works" solution is to query the database for a first and last name (2 queries)... for each person... which is 22 times per club with 18 clubs per league and 4 leagues per nation...
I don't understand why my cursorloader thing isn't working. I'm really not doing anything different than if it was used for a listview. At least, I don't think so.
In the beginning it's super strange; I definately agree with you. One advice I have is to not confuse them with RDBMSs. They are completely different.. But the beauty of NOSQL is the fact that you can finally store anything you need in your DB and right after manipulate the data. And if you think about it, you will see that this is the only solution when developing a big system with huge data; no wonder why Google, Facebook etc uses Graph Databases..
This page helped me a lot understand their differences after following the tutorials.. The bad thing is that since it's a kinda new technology (3-4 years active); the information out there is limited.