Android Studio – How to get viewId to use on another class?
I want to make a class to process ProgressBar. But i cant find a way to transfer the viewId, which make null pointer error. This the helperclass: public class HelperProgressBar { ProgressBar progressBar; Activity activity; int ID; public HelperProgressBar(Activity activity,…