If you tap on that color name, you should see a new pop-up appear at the bottom of the screen with it’s own edit text where you can enter a hex code.Īt the bottom of that pop-up, there will be a small heart that should be the color of whatever hex code you input in the edit text at the top of the pop-up. You’ll see the screen change to that color, and a color name will appear in the top right below the actual hex value. Open the starter project in Android Studio and run the app. In this chapter, you’re going to put the final touches on the HexColor app that you started in the Chapter 15, “Testing RxJava Code,” code and expanded upon in Chapter 17, “RxBindings.” In this chapter, you’ll learn how the library works and how you can use it to effectively stream preference changes. The RxPreferences library provides a reactive wrapper around these preference notification listeners. Many developers will also be familiar with the tools you use to listen to changes in these preferences. You use it to store one-off values that you want to persist across the lifetime of the app.
0 Comments
Leave a Reply. |