Android Library Binding Project: How to modify the access modifier of an interface inside a class

Aug 29, 2017

The metadata XML tag needed to modify an interface inside a class when binding an Android library.

Metadata XML

<attr path=”/api/package[@name=’’] /interface[@name=’DatePickerDialog.OnDateChangedListener’]” name=”visibility”>public</attr>

  • Path is the namespace that the class resides in
  • The interface selector needs the ClassName.InterfaceName