In reading the Android documentation on Device Administration, it says to set it up as follows:
<activity android:name=".app.DeviceAdminSample" ... ></activity>
<receiver android:name=".app.DeviceAdminSample$DeviceAdminSampleReceiver" ... ></receiver>
public class DeviceAdminSample extends DeviceAdminReceiver { ... }
When setting it up on my application, on the receiver name, Studio gave a "Cannot resolve symbol" error on the ...$DeviceAdminSampleReceiver"
part, so I set my receiver name and class name as "MyDeviceAdminReceiver"
The receiver name in the example doesn't match the Device Administration Receiver class name. What's the significance of the dollar sign? Why does the example have a different name for the receiver and the receiver class?