UpdateChecker icon indicating copy to clipboard operation
UpdateChecker copied to clipboard

Override Update Checker Constructor to Take in Context Instead of Activity

Open AlexVPerl opened this issue 9 years ago • 1 comments

Can we please have a constructor that takes in a Context parameter. Looking through the code Activity is only used to pull package name, and Context can easily be substituted for that purpose.

Great library by the way.

AlexVPerl avatar Sep 14 '15 20:09 AlexVPerl

You can cast context to activity like this (Activity)context

farhadmammadli avatar Jan 09 '17 01:01 farhadmammadli