Check out example codes for "how to view only downloading speed in du meter". It will help you in understanding the concepts better.

Code Example 1

Download DU meter 7

Learn ReactJs, React Native from akashmittal.com