Chris Myers
Chris Myers
Not that there is answer on stackoverflow, but you can find how to plot by day/week/month/year, etc. For example ``` private val priceWeeks: ArrayList = ArrayList() private val weekFormatter: DateTimeFormatter...
If they number of visible points is always the same, try `chart.moveViewToX(pageSize * page)`
You have to handle that in the onActivityResult method of your activity, that can't be controlled in the library. ``` override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { super.onActivityResult(requestCode,...
You can change the constructor to this: ``` private UpdateManager(Context context) throws Exception { mActivityWeakReference = new WeakReference(context); this.appUpdateManager = AppUpdateManagerFactory.create(context); this.appUpdateInfoTask = appUpdateManager.getAppUpdateInfo(); if(context instanceof AppCompatActivity){ ((AppCompatActivity)context).getLifecycle().addObserver(this); } else...
You can add a function to the library for users to be able to set the color they want so it can match their theme. ``` private String notificationColor =...
Everything is recreated on rotation, so the target should move with the anchored view. The only thing that would need to be adjusted are your buttons and possibly the text...
When you say the spotlight are you talking about the area around the target or the area outside the target? Area around the target, just change the alpha value so...
Change the view on your root layout from a TextView to an ImageView.
The order of the drawing is wrong in onDraw of SpotlightView, you have to flip the shape and effect draw like this: ``` if (currentTarget != null && currentShapeAnimator !=...
Change the repeat mode from REVERSE to something else so it loops the same thing over or stops after completion.