Skip to content

Commit

Permalink
refactor: Create a separate folder for each versionCode during export…
Browse files Browse the repository at this point in the history
… to CSV #118

- Update corresponding file paths in the `UploadEventsWorker` by adding the `versionCode` directory.
  • Loading branch information
nya-elimu committed Apr 19, 2022
1 parent 18af3ba commit b3f106e
Show file tree
Hide file tree
Showing 2 changed files with 193 additions and 151 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
import ai.elimu.analytics.util.VersionHelper;
import timber.log.Timber;

/**
* Exports events from the database into CSV files, that will later be uploaded to the server by
* the {@link UploadEventsWorker}.
*/
public class ExportEventsToCsvWorker extends Worker {

public ExportEventsToCsvWorker(@NonNull Context context, @NonNull WorkerParameters workerParams) {
Expand Down
Loading

0 comments on commit b3f106e

Please sign in to comment.